Changeset 9697 in orxonox.OLD for branches/new_class_id/src/lib/shell/shell_command.cc
- Timestamp:
- Aug 25, 2006, 12:03:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_command.cc
r9692 r9697 241 241 return false; 242 242 243 const std::list<BaseObject*>* objectList = ClassList::getList(cmd->shellClass->getName());243 const NewObjectListBase* const objectList = NewObjectListBase::getObjectList(cmd->shellClass->getName()); 244 244 if (objectList != NULL) 245 245 { 246 std::list<BaseObject*>::const_iterator bo;246 NewObjectListBase::base_iterator bo(objectList->base_begin()); 247 247 248 248 // No Description given (only for speedup) 249 249 if (objectDescriptor.empty()) 250 250 { 251 for ( bo = objectList->begin(); bo != objectList->end(); bo++)251 for (; bo != objectList->base_end(); bo++) 252 252 boList->push_back(*bo); 253 253 } … … 255 255 else 256 256 { 257 for (bo = objectList->b egin(); bo != objectList->end(); bo++)257 for (bo = objectList->base_begin(); bo != objectList->base_end(); bo++) 258 258 if (!nocaseCmp(objectDescriptor, (*bo)->getName(), objectDescriptor.size())) 259 259 boList->push_back(*bo);
Note: See TracChangeset
for help on using the changeset viewer.