update to proper data type

This commit is contained in:
Mark Vejvoda 2013-06-22 03:49:51 +00:00
parent bb14d4cc1e
commit af91eb8b4e
1 changed files with 1 additions and 1 deletions

View File

@ -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);