mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 03:12:09 +01:00
*Backport a missing function from TC2.
--HG-- branch : trunk
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user