Changeset 3653 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 25, 2005, 6:14:40 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3646 r3653 574 574 glLoadIdentity(); 575 575 576 entity = this->entities->enumerate(); 576 //entity = this->entities->enumerate(); 577 tIterator<WorldEntity>* iterator = this->entities->getIterator(); 578 entity = iterator->nextElement(); 577 579 while( entity != NULL ) 578 580 { 579 581 if( entity->bDraw ) entity->draw(); 580 entity = this->entities->nextElement(); 581 } 582 //entity = this->entities->nextElement(); 583 entity = iterator->nextElement(); 584 } 585 delete iterator; 582 586 583 587 glCallList (objectList);
Note: See TracChangeset
for help on using the changeset viewer.