mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 16:39:01 +02:00
- 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:
@@ -275,7 +275,8 @@ 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
|
||||||
bool sortedUnitsAllowed = true;
|
Config &config= Config::getInstance();
|
||||||
|
bool sortedUnitsAllowed = config.getBool("AllowGroupedUnitCommands","true");
|
||||||
std::map<int, std::vector<CommandGroupSorter *> > unitsInFactionsSorted;
|
std::map<int, std::vector<CommandGroupSorter *> > unitsInFactionsSorted;
|
||||||
|
|
||||||
int factionCount = getFactionCount();
|
int factionCount = getFactionCount();
|
||||||
|
Reference in New Issue
Block a user