1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
This commit is contained in:
nordsoft 2023-09-23 04:33:08 +02:00
parent 455c13164e
commit 5f2023c8d5

View File

@ -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);