Changeset 5199 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Sep 18, 2005, 3:29:24 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r5198 r5199 404 404 while(elemAL != NULL) 405 405 { 406 if (elemAL->getName() != NULL && elemAL->getCommand() != NULL && !strcmp(elemAL->getName(), inputSplits.getString(0))) 406 if (elemAL->getName() != NULL && !strcmp(elemAL->getName(), inputSplits.getString(0)) && elemAL->getCommand() != NULL && 407 elemAL->getCommand()->shellClass != NULL ) 407 408 { 408 printf("%s\n", elemAL->getCommand()->shellClass->getName()); 409 elemAL->getCommand()->executeCommand(ClassList::getList(elemAL->getCommand()->shellClass->getName())->firstElement(), ""); 410 return true; 409 objectList = ClassList::getList(elemAL->getCommand()->shellClass->getName()); 410 if (objectList != NULL) 411 { 412 elemAL->getCommand()->executeCommand(objectList->firstElement(), ""); 413 return true; 414 } 411 415 } 412 416 elemAL = itAL->nextElement();
Note: See TracChangeset
for help on using the changeset viewer.