mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +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();
|
||||
}
|
||||
case Obj::CREATURE_GENERATOR1:
|
||||
case Obj::CREATURE_GENERATOR4:
|
||||
{
|
||||
const CGDwelling *d = dynamic_cast<const CGDwelling*>(obj);
|
||||
return d->getArmyStrength();
|
||||
|
Loading…
Reference in New Issue
Block a user