Core/Maps: use correct map pointer to get grids in GetWaterOrGroundLevel
This commit is contained in:
1 parent
911f8636c9
commit
785b6c9837
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user