mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Fix guard check
This commit is contained in:
parent
5315beec8c
commit
d5b6e31223
@ -428,7 +428,7 @@ int3 rmg::Object::getGuardPos() const
|
|||||||
{
|
{
|
||||||
if (instance.object().ID == Obj::MONSTER)
|
if (instance.object().ID == Obj::MONSTER)
|
||||||
{
|
{
|
||||||
return instance.getPosition(true);
|
return instance.getVisitablePosition();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user