From af91eb8b4e931c1e80c345e68b10db2f5d10c7cf Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Sat, 22 Jun 2013 03:49:51 +0000 Subject: [PATCH] update to proper data type --- source/glest_game/global/core_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/global/core_data.cpp b/source/glest_game/global/core_data.cpp index c4a9f5a2..112a6495 100644 --- a/source/glest_game/global/core_data.cpp +++ b/source/glest_game/global/core_data.cpp @@ -1078,7 +1078,7 @@ bool CoreData::loadGameSettingsFromFile(std::string fileName, GameSettings *game gameSettings->setFactionCount(properties.getInt("FactionCount")); if(properties.hasString("NetworkAllowNativeLanguageTechtree") == true) { - gameSettings->setNetworkAllowNativeLanguageTechtree(properties.getInt("NetworkAllowNativeLanguageTechtree")); + gameSettings->setNetworkAllowNativeLanguageTechtree(properties.getBool("NetworkAllowNativeLanguageTechtree")); } else { gameSettings->setNetworkAllowNativeLanguageTechtree(false);