Merge pull request #105 from Jammyjamjamman/oos_fix

Attempt to fix OOS bug in windows-linux games.
This commit is contained in:
MathuSum Mut
2018-04-10 00:46:19 +02:00
committed by GitHub

View File

@@ -450,7 +450,10 @@ namespace Glest
//bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true"); //bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true");
//bool sortedUnitsAllowed = false; //bool sortedUnitsAllowed = false;
//if(sortedUnitsAllowed == true) { //if(sortedUnitsAllowed == true) {
this->faction->sortUnitsByCommandGroups ();
/// TODO: Why does this cause and OOS?
//this->faction->sortUnitsByCommandGroups ();
//} //}
codeLocation = "8"; codeLocation = "8";