From 5ffc0937f17bbff0a8e38a858e47da954ae4efe6 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 12 Jul 2011 23:41:14 +0000 Subject: [PATCH] - added new ini setting to toggle grouped commands processing (hunting down out of synch). To turn it off try: AllowGroupedUnitCommands=false --- source/glest_game/world/world.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/world/world.cpp b/source/glest_game/world/world.cpp index d75e5314..549f95d7 100644 --- a/source/glest_game/world/world.cpp +++ b/source/glest_game/world/world.cpp @@ -275,7 +275,8 @@ void World::updateAllFactionUnits() { // Prioritize grouped command units so closest units to target go first // units - bool sortedUnitsAllowed = true; + Config &config= Config::getInstance(); + bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true"); std::map > unitsInFactionsSorted; int factionCount = getFactionCount();