diff options
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index 7966a79a84e..c0196c5a350 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -1556,6 +1556,11 @@ Map* WorldObject::GetMap() const return MapManager::Instance().GetMap(GetMapId(), this); } +Map* WorldObject::FindMap() const +{ + return MapManager::Instance().FindMap(GetMapId(), GetInstanceId()); +} + Map const* WorldObject::GetBaseMap() const { return MapManager::Instance().GetBaseMap(GetMapId()); |