Changeset 10917 for code/branches/cpp11_v2/src/modules/tetris
- Timestamp:
- Dec 2, 2015, 11:32:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/tetris/Tetris.cc
r10916 r10917 341 341 { 342 342 // Spawn a human player. 343 for ( auto& mapEntry : this->players_)343 for (const auto& mapEntry : this->players_) 344 344 if (mapEntry.first->isHumanPlayer() && (mapEntry.first->isReadyToSpawn() || this->bForceSpawn_)) 345 345 this->spawnPlayer(mapEntry.first);
Note: See TracChangeset
for help on using the changeset viewer.