- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/orxonox/controllers/FightingController.cc
r11052 r11054 248 248 float minDistance = std::numeric_limits<float>::infinity(); 249 249 Gametype* gt = this->getGametype(); 250 for (ObjectList<Pawn>::iterator itP = ObjectList<Pawn> ::begin(); itP; ++itP)250 for (ObjectList<Pawn>::iterator itP = ObjectList<Pawn>().begin(); itP; ++itP) 251 251 { 252 252 if ( CommonController::sameTeam (this->getControllableEntity(), static_cast<ControllableEntity*>(*itP), gt) )
Note: See TracChangeset
for help on using the changeset viewer.