mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-15 11:46:56 +02:00
Possible fix for http://bugs.vcmi.eu/view.php?id=2620
This commit is contained in:
parent
c23d3ac83c
commit
fd9cfa406d
@ -297,6 +297,7 @@ ui64 evaluateDanger(const CGObjectInstance *obj)
|
|||||||
return cre->getArmyStrength();
|
return cre->getArmyStrength();
|
||||||
}
|
}
|
||||||
case Obj::CREATURE_GENERATOR1:
|
case Obj::CREATURE_GENERATOR1:
|
||||||
|
case Obj::CREATURE_GENERATOR4:
|
||||||
{
|
{
|
||||||
const CGDwelling *d = dynamic_cast<const CGDwelling*>(obj);
|
const CGDwelling *d = dynamic_cast<const CGDwelling*>(obj);
|
||||||
return d->getArmyStrength();
|
return d->getArmyStrength();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user