Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9942


Ignore:
Timestamp:
Dec 29, 2013, 8:45:00 PM (10 years ago)
Author:
jo
Message:

Disabling addbots for Invaders, since it will cause the game to crash.

Location:
code/trunk/src/modules/invader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/invader/Invader.cc

    r9939 r9942  
    6060    {
    6161        RegisterObject(Invader);
     62        this->numberOfBots_ = 0; //sets number of default bots temporarly to 0
    6263        this->center_ = 0;
    6364        init();
  • code/trunk/src/modules/invader/Invader.h

    r9939 r9942  
    5454            virtual void start();
    5555            virtual void end();
     56            virtual void addBots(unsigned int amount){} //<! overwrite function in order to bypass the addbots command
    5657
    5758            void spawnEnemy();
Note: See TracChangeset for help on using the changeset viewer.