diff --git a/lib/rmg/modificators/ObjectManager.cpp b/lib/rmg/modificators/ObjectManager.cpp index 115e9286a..a40bae77d 100644 --- a/lib/rmg/modificators/ObjectManager.cpp +++ b/lib/rmg/modificators/ObjectManager.cpp @@ -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()); }