- disabled grouped commands for now

This commit is contained in:
Mark Vejvoda 2011-09-09 20:42:02 +00:00
parent 15cad68faf
commit c2b2e41935

View File

@ -281,7 +281,7 @@ void World::updateAllFactionUnits() {
// Prioritize grouped command units so closest units to target go first // Prioritize grouped command units so closest units to target go first
// units // units
Config &config= Config::getInstance(); Config &config= Config::getInstance();
bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true"); bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","false");
std::map<int, std::vector<CommandGroupSorter *> > unitsInFactionsSorted; std::map<int, std::vector<CommandGroupSorter *> > unitsInFactionsSorted;
int factionCount = getFactionCount(); int factionCount = getFactionCount();