- Timestamp:
- Sep 9, 2015, 1:11:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/gametypes/SpaceRaceManager.cc
r9667 r10571 46 46 { 47 47 RegisterObject(SpaceRaceManager); 48 this->race_ = orxonox_cast<SpaceRace*>(this->getGametype() .get());48 this->race_ = orxonox_cast<SpaceRace*>(this->getGametype()); 49 49 assert(race_); 50 50 //amountOfPlayers=(race_->getPlayers()).size(); … … 139 139 void SpaceRaceManager::checkpointReached(RaceCheckPoint* newCheckpoint, PlayerInfo* player) 140 140 { 141 SpaceRace* gametype = orxonox_cast<SpaceRace*>(this->getGametype() .get());141 SpaceRace* gametype = orxonox_cast<SpaceRace*>(this->getGametype()); 142 142 assert(gametype); 143 143 if (!gametype)
Note: See TracChangeset
for help on using the changeset viewer.