mirror of
https://github.com/glest/glest-source.git
synced 2025-02-23 19:22:40 +01:00
remove some printf
This commit is contained in:
parent
f497e03358
commit
c41db9cd16
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user