- Timestamp:
- May 24, 2018, 1:56:22 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRaceController.cc
r11977 r11982 107 107 return returnVec; 108 108 } 109 void SpaceRaceController::endtheGame() const {109 /*void SpaceRaceController::endtheGame() const { 110 110 SpaceRace* gametype = orxonox_cast<SpaceRace*>(this->getGametype()); 111 111 assert(gametype); … … 114 114 gametype->end(); 115 115 116 } 116 }*/ 117 117 /* 118 118 * called from 'findStaticCheckpoints' … … 186 186 187 187 } 188 if(minNextRaceCheckPoint == nullptr) { endtheGame();orxout()<<"nullptr found @181 SpaceRaceController" << endl;}188 if(minNextRaceCheckPoint == nullptr) { orxout()<<"nullptr found @181 SpaceRaceController" << endl;} 189 189 return minNextRaceCheckPoint; 190 190 } … … 252 252 if (checkpoint->getCheckpointIndex() == index){ 253 253 //if(checkpoint == nullptr) orxout()<<"returned nullptr @line 234 SpaceRaceController"<<endl; 254 orxout()<< "index of the checkpoint "<< index <<endl;254 //orxout()<< "index of the checkpoint "<< index <<endl; 255 255 res = checkpoint; 256 256 return res; 257 257 } 258 258 } 259 if(index>2 )260 this->endtheGame(); 259 /* if(index>2 ) 260 this->endtheGame();*/ 261 261 262 262 return res;
Note: See TracChangeset
for help on using the changeset viewer.