mirror of
https://github.com/glest/glest-source.git
synced 2025-02-24 11:42:31 +01: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:
parent
5400126332
commit
5ffc0937f1
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user