Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2012, 3:23:01 PM (13 years ago)
Author:
jo
Message:

Quick fix: Suppress default bots in racing gametypes, since so far we haven't a racing bot implemented yet.

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

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/gametypes/OldSpaceRace.h

    r9271 r9301  
    5959
    6060            virtual void newCheckpointReached();
     61            virtual void addBots(unsigned int amount){} //<! overwrite function in order to bypass the addbots command.
     62                                                        //<! This is only a temporary solution. Better: create racingBots.
    6163
    6264            inline void setCheckpointsReached(int n)
  • code/branches/presentation2012merge/src/modules/gametypes/SpaceRace.cc

    r9263 r9301  
    4848        this->cantMove_ = false;
    4949        this->bTimeIsUp_ = false;
     50        this->numberOfBots_ = 0; // quick fix: don't allow default-bots to enter the race
     51                                 // remove this line, if a raceBot has been created.
    5052    }
    5153
Note: See TracChangeset for help on using the changeset viewer.