mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
fix compiling
This commit is contained in:
parent
2b88e6941c
commit
7b7aaa36b2
@ -328,7 +328,7 @@ void QuestWidget::on_lKillTargetSelect_clicked()
|
||||
{
|
||||
if(auto * o = dynamic_cast<const CGHeroInstance*>(obj))
|
||||
return o->ID != Obj::PRISON;
|
||||
if(auto * o = dynamic_cast<const CGCreature*>(obj))
|
||||
if(dynamic_cast<const CGCreature*>(obj))
|
||||
return true;
|
||||
return false;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user