mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Compile fix.
This commit is contained in:
parent
31f82cade0
commit
838c226a31
@ -65,7 +65,7 @@ armyStructure evaluateArmyStructure (const CArmedInstance * army)
|
||||
if (walker)
|
||||
walkersStrenght += s.second->getPower();
|
||||
|
||||
amax (maxSpeed, s.second->type->speed);
|
||||
amax (maxSpeed, s.second->type->valOfBonuses(Bonus::STACKS_SPEED));
|
||||
}
|
||||
armyStructure as;
|
||||
as.walkers = walkersStrenght / totalStrenght;
|
||||
|
Loading…
Reference in New Issue
Block a user