From 63eaa42e6fd3936893579cdb71714c26a3b5ea87 Mon Sep 17 00:00:00 2001 From: Jammyjamjamman Date: Sun, 8 Apr 2018 13:01:09 +0100 Subject: [PATCH] Attempt to fix OOS bug in windows-linux games. --- source/glest_game/type_instances/faction.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/glest_game/type_instances/faction.cpp b/source/glest_game/type_instances/faction.cpp index 18fa705d1..b2212c9d8 100644 --- a/source/glest_game/type_instances/faction.cpp +++ b/source/glest_game/type_instances/faction.cpp @@ -450,7 +450,10 @@ namespace Glest //bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true"); //bool sortedUnitsAllowed = false; //if(sortedUnitsAllowed == true) { - this->faction->sortUnitsByCommandGroups (); + + /// TODO: Why does this cause and OOS? + //this->faction->sortUnitsByCommandGroups (); + //} codeLocation = "8";