- Timestamp:
- Dec 5, 2015, 10:47:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/dodgerace/DodgeRaceShip.cc
r10818 r10919 154 154 if (game == nullptr) 155 155 { 156 for ( ObjectList<DodgeRace>::iterator it = ObjectList<DodgeRace>::begin(); it != ObjectList<DodgeRace>::end(); ++it)156 for (DodgeRace* race : ObjectList<DodgeRace>()) 157 157 { 158 game = *it;158 game = race; 159 159 } 160 160 }
Note: See TracChangeset
for help on using the changeset viewer.