mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
fix compiling
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user