Changeset 10355 for code/branches/core7/src/libraries/core
- Timestamp:
- Apr 11, 2015, 10:46:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/command/CommandExecutor.cc
r10348 r10355 296 296 // create a new console command with the given alias as its name 297 297 if (tokens.size() == 1) 298 new ConsoleCommand(tokens[0], executor);298 ConsoleCommandManager::registerCommand(new ConsoleCommand(tokens[0], executor)); 299 299 else if (tokens.size() == 2) 300 new ConsoleCommand(tokens[0], tokens[1], executor);300 ConsoleCommandManager::registerCommand(new ConsoleCommand(tokens[0], tokens[1], executor)); 301 301 else 302 302 orxout(user_error) << "\"" << alias << "\" is not a valid alias name (must have one or two words)." << endl;
Note: See TracChangeset
for help on using the changeset viewer.