Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9451


Ignore:
Timestamp:
Nov 19, 2012, 1:24:19 PM (12 years ago)
Author:
purgham
Message:

working Version 19.11.2012 - Bots can allways be included

Location:
code/branches/Racingbot/src/modules/gametypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Racingbot/src/modules/gametypes/RaceCheckPoint.cc

    r9441 r9451  
    6262        //this->players_ = vector<PlayerInfo*>();
    6363
    64         myPosition_= this->getPosition();
     64        myPosition_= this->getPosition(); //eingefuegt
    6565        orxout(user_status) << "test" << std::endl;
    6666
  • code/branches/Racingbot/src/modules/gametypes/SpaceRaceController.cc

    r9441 r9451  
    5555
    5656        OrxAssert(!checkpoints.empty(), "No Checkpoints in Level");
    57         //OrxAssert(1==2, "Orxassert test");
    5857        checkpoints_=checkpoints;
    5958        staticRacePoints_ = findStaticCheckpoints(checkpoints);
     59        // initialisation of currentRaceCheckpoint_
     60        currentRaceCheckpoint_ = NULL;
     61        // find first Checkpoint
    6062        for (int i=0; true; i++){
    6163            if(checkpoints_[i]->getCheckpointIndex()==0){
Note: See TracChangeset for help on using the changeset viewer.