mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Merge pull request #2920 from Nordsoft91/nkai-fixes
Fix mistake in NKAI
This commit is contained in:
commit
952c740c73
@ -393,7 +393,7 @@ void ArmyManager::update()
|
||||
}
|
||||
}
|
||||
|
||||
for(auto army : totalArmy)
|
||||
for(auto & army : totalArmy)
|
||||
{
|
||||
army.second.creature = army.first.toCreature();
|
||||
army.second.power = evaluateStackPower(army.second.creature, army.second.count);
|
||||
|
Loading…
Reference in New Issue
Block a user