mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-03 14:52:11 +02:00
Actually, avoid guarded object altogether
This commit is contained in:
parent
4e88290962
commit
28f76b2839
@ -624,7 +624,7 @@ void ObjectManager::placeObject(rmg::Object & object, bool guarded, bool updateD
|
||||
rp->areaIsolated().unite(borderAbove);
|
||||
}
|
||||
|
||||
if (instance->object().ID == Obj::MONSTER)
|
||||
if (object.isGuarded())
|
||||
{
|
||||
rp->areaVisitable().add(instance->getVisitablePosition());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user