remove some printf

This commit is contained in:
titiger 2016-02-09 02:02:59 +01:00
parent f497e03358
commit c41db9cd16
1 changed files with 0 additions and 3 deletions

View File

@ -74,14 +74,11 @@ BattleEnd::BattleEnd(Program *program, const Stats *stats,ProgramState *originSt
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__);
if(stats->getVictory(stats->getThisFactionIndex())==true){
printf("I won\n");
if (Config::getInstance().getString("InternetGamesBlockScenario", "") != ""
&& Config::getInstance().getBool("InternetGamesAllowed", "false") == false) {
printf("won=%s\n",gameSettings->getScenario().c_str());
if(Config::getInstance().getString("InternetGamesBlockScenario")==gameSettings->getScenario()){
Config::getInstance().setBool("InternetGamesAllowed",true);
Config::getInstance().save();
printf("give it to me baby!\n");
}
}
}