Core/Maps: use correct map pointer to get grids in GetWaterOrGroundLevel

This commit is contained in:
Ovahlord committed 2019-02-20 02:04:01 +01:00
1 parent 911f8636c9
commit 785b6c9837
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1465,7 +1465,7 @@ bool WorldObject::IsWithinLOS(float ox, float oy, float oz, LineOfSightChecks ch
return true;
}
bool WorldObject::IsWithinLOSInMap(const WorldObject* obj, LineOfSightChecks checks, VMAP::ModelIgnoreFlags ignoreFlags) const
bool WorldObject::IsWithinLOSInMap(WorldObject const* obj, LineOfSightChecks checks, VMAP::ModelIgnoreFlags ignoreFlags) const
{
if (!IsInMap(obj))
return false;