From b6dab7ff8bda89aca1afd61009fb42ea56f94c70 Mon Sep 17 00:00:00 2001 From: Jammyjamjamman Date: Wed, 11 Apr 2018 00:52:25 +0100 Subject: [PATCH] Disabled function causing OOS in windows-linux games, which was re-enabled in commit 26581a77d2cb4538d718842c82063c2ecc36b31a . --- 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 56ffd19e..9a9af213 100644 --- a/source/glest_game/type_instances/faction.cpp +++ b/source/glest_game/type_instances/faction.cpp @@ -347,7 +347,10 @@ void FactionThread::execute() { //bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true"); //bool sortedUnitsAllowed = false; //if(sortedUnitsAllowed == true) { - this->faction->sortUnitsByCommandGroups(); + + /// TODO: Why does this cause an OOS? + //this->faction->sortUnitsByCommandGroups(); + //} codeLocation = "8";