Browse Source

Fix guard check

Tomasz Zieliński 1 year ago
parent
commit
d5b6e31223
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/rmg/RmgObject.cpp

+ 1 - 1
lib/rmg/RmgObject.cpp

@@ -428,7 +428,7 @@ int3 rmg::Object::getGuardPos() const
 		{
 			if (instance.object().ID == Obj::MONSTER)
 			{
-				return instance.getPosition(true);
+				return instance.getVisitablePosition();
 			}
 		}
 	}