Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2018, 1:56:22 PM (6 years ago)
Author:
arismu
Message:

SpaceRaceTemplates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/RacingBots_FS18/src/modules/gametypes/SpaceRaceController.cc

    r11977 r11982  
    107107        return returnVec;
    108108    }
    109     void SpaceRaceController::endtheGame() const {
     109    /*void SpaceRaceController::endtheGame() const {
    110110        SpaceRace* gametype = orxonox_cast<SpaceRace*>(this->getGametype());
    111111        assert(gametype);
     
    114114        gametype->end();
    115115
    116     }
     116    }*/
    117117    /*
    118118     * called from 'findStaticCheckpoints'
     
    186186
    187187        }
    188         if(minNextRaceCheckPoint == nullptr) {endtheGame(); orxout()<<"nullptr found @181 SpaceRaceController" << endl;}
     188        if(minNextRaceCheckPoint == nullptr) { orxout()<<"nullptr found @181 SpaceRaceController" << endl;}
    189189        return minNextRaceCheckPoint;
    190190    }
     
    252252            if (checkpoint->getCheckpointIndex() == index){
    253253                //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;
    255255                res = checkpoint;
    256256                return res;
    257257            }
    258258        }
    259     if(index>2 )   
    260         this->endtheGame();
     259    /* if(index>2 )   
     260        this->endtheGame();*/
    261261
    262262        return res;
Note: See TracChangeset for help on using the changeset viewer.