Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2014, 2:28:19 PM (10 years ago)
Author:
jo
Message:

Something went wrong. I will correct the error later. So far just this patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gametypes/Gametype.cc

    r9969 r9972  
    3535#include "core/GameMode.h"
    3636#include "core/command/ConsoleCommand.h"
    37 #include "gamestates/GSLevel.h"
     37//#include "gamestates/GSLevel.h"
    3838
    3939#include "infos/PlayerInfo.h"
     
    6262        this->bAutoStart_ = false;
    6363        this->bForceSpawn_ = false;
    64         this->bAutoEnd_ = true;
     64        //this->bAutoEnd_ = true;
    6565        this->numberOfBots_ = 0;
    6666
     
    106106        SetConfigValue(bAutoStart_, false);
    107107        SetConfigValue(bForceSpawn_, false);
    108         SetConfigValue(bAutoEnd_, true);
     108        //SetConfigValue(bAutoEnd_, true);
    109109        SetConfigValue(numberOfBots_, 0);
    110110        SetConfigValue(scoreboardTemplate_, "defaultScoreboard");
     
    154154    {
    155155        this->gtinfo_->end();
    156         if (this->bAutoEnd_)
    157             this->showMenuTimer_.setTimer(2.5f, true, createExecutor(createFunctor(&Gametype::showMenu, this)));
     156        //if (this->bAutoEnd_)
     157        //    this->showMenuTimer_.setTimer(2.5f, true, createExecutor(createFunctor(&Gametype::showMenu, this)));
    158158
    159159        for (std::map<PlayerInfo*, Player>::iterator it = this->players_.begin(); it != this->players_.end(); ++it)
     
    519519    }
    520520
    521     void Gametype::showMenu()
    522     {
    523         GSLevel::startMainMenu();
    524     }
     521    //void Gametype::showMenu()
     522    //{
     523    //  GSLevel::startMainMenu();
     524    //}
    525525}
Note: See TracChangeset for help on using the changeset viewer.