Changeset 5135 in orxonox.OLD for trunk/src/util/shell.cc
- Timestamp:
- Aug 26, 2005, 12:51:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/shell.cc
r5130 r5135 78 78 //void ShellCommand<T>::registerCommand(const char* commandName, ClassID classID, T* object, void* functionPointer, unsigned int paramCount, ...) 79 79 80 ShellCommand<Shell>::registerCommand("clear", CL_NULL, this, &Shell::clear , 0, 1);80 ShellCommand<Shell>::registerCommand("clear", CL_NULL, this, &Shell::clear); 81 81 } 82 82 … … 457 457 this->inputHistory->add(newCommand); 458 458 459 if (!strcmp(this->inputLine, "clear")) 460 { 461 this->clear(); 462 } 459 ShellCommandBase::execute(this->inputLine); 460 // if (!strcmp(this->inputLine, "clear")) 461 // { 462 // this->clear(); 463 // } 463 464 464 465 this->flushInputLine();
Note: See TracChangeset
for help on using the changeset viewer.