Changeset 6707 in orxonox.OLD for branches/powerups/src/story_entities
- Timestamp:
- Jan 25, 2006, 4:02:01 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/story_entities/game_world.cc
r6634 r6707 300 300 void GameWorld::tick(std::list<WorldEntity*> entityList, float dt) 301 301 { 302 std::list<WorldEntity*>::iterator entity; 303 for (entity = entityList.begin(); entity != entityList.end(); entity++) 302 std::list<WorldEntity*>::iterator entity, next; 303 next = entityList.begin(); 304 while (next != entityList.end()) 305 { 306 entity = next++; 304 307 (*entity)->tick(dt); 305 308 } 306 309 } 307 310
Note: See TracChangeset
for help on using the changeset viewer.