Changeset 3746 in orxonox.OLD for orxonox/branches/levelloader/src/command_node.cc
- Timestamp:
- Apr 7, 2005, 3:54:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/command_node.cc
r3605 r3746 22 22 #include "game_loader.h" 23 23 #include "world.h" 24 #include "list.h" 25 #include "orxonox.h" 26 #include "debug.h" 24 27 25 28 #include <stdio.h> … … 279 282 if( this->world->command(cmd)) return; 280 283 281 WorldEntity* entity = bound->enumerate(); 284 tIterator<WorldEntity>* iterator = bound->getIterator(); 285 WorldEntity* entity = iterator->nextElement(); 282 286 while( entity != NULL) 283 287 { 284 288 entity->command (cmd); /*no absorbtion of command! strange*/ 285 entity = bound->nextElement(); 286 } 289 entity = iterator->nextElement(); 290 } 291 delete iterator; 287 292 } 288 293
Note: See TracChangeset
for help on using the changeset viewer.