Attempt to fix OOS bug in windows-linux games.

This commit is contained in:
Jammyjamjamman 2018-04-08 13:01:09 +01:00
parent 6564320214
commit 63eaa42e6f
No known key found for this signature in database
GPG Key ID: A5541C132A56EAB4

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";