From b3449e59becf7769d46dd270da3c5f30495c686a Mon Sep 17 00:00:00 2001 From: titison Date: Mon, 12 Jan 2015 17:55:48 +0100 Subject: [PATCH] shared Team Options in scenarios little fix with printf which weren't used anyway --- source/glest_game/world/scenario.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/world/scenario.cpp b/source/glest_game/world/scenario.cpp index cb4259db..922d97c1 100644 --- a/source/glest_game/world/scenario.cpp +++ b/source/glest_game/world/scenario.cpp @@ -394,7 +394,7 @@ void Scenario::loadScenarioInfo(string file, ScenarioInfo *scenarioInfo, bool is if(scenarioNode->hasChild("shared-team-units") == true) { scenarioInfo->allowTeamUnitSharing=scenarioNode->getChild("shared-team-units")->getAttribute("value")->getBoolValue(); - //printf("\nallowTeamUnitSharing is set to [%B]\n",scenarioInfo->allowTeamUnitSharing); + //printf("\nallowTeamUnitSharing is set to [%s]\n",scenarioInfo->allowTeamUnitSharing); } else { scenarioInfo->allowTeamUnitSharing = false; @@ -402,7 +402,7 @@ void Scenario::loadScenarioInfo(string file, ScenarioInfo *scenarioInfo, bool is if(scenarioNode->hasChild("shared-team-resources") == true) { scenarioInfo->allowTeamResourceSharing=scenarioNode->getChild("shared-team-resources")->getAttribute("value")->getBoolValue(); - //printf("\nallowTeamResourceSharing is set to [%B]\n",scenarioInfo->allowTeamResourceSharing); + //printf("\nallowTeamResourceSharing is set to [%s]\n",scenarioInfo->allowTeamResourceSharing); } else { scenarioInfo->allowTeamResourceSharing = false;