Changeset 11071 for code/trunk/src/modules/gametypes/SpaceRace.cc
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/gametypes/SpaceRace.cc
r9804 r11071 88 88 this->cantMove_ = true; 89 89 90 for ( ObjectList<Engine>::iterator it = ObjectList<Engine>::begin(); it; ++it)91 it->setActive(false);90 for (Engine* engine : ObjectList<Engine>()) 91 engine->setActive(false); 92 92 } 93 93 … … 95 95 if (!this->isStartCountdownRunning() && this->cantMove_) 96 96 { 97 for ( ObjectList<Engine>::iterator it = ObjectList<Engine>::begin(); it; ++it)98 it->setActive(true);97 for (Engine* engine : ObjectList<Engine>()) 98 engine->setActive(true); 99 99 100 100 this->cantMove_= false;
Note: See TracChangeset
for help on using the changeset viewer.