- added new ini setting to toggle grouped commands processing (hunting down out of synch). To turn it off try:

AllowGroupedUnitCommands=false
This commit is contained in:
Mark Vejvoda 2011-07-12 23:41:14 +00:00
parent 5400126332
commit 5ffc0937f1
1 changed files with 2 additions and 1 deletions

View File

@ -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<int, std::vector<CommandGroupSorter *> > unitsInFactionsSorted;
int factionCount = getFactionCount();