*Backport a missing function from TC2.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-26 08:50:51 -06:00
parent 9f27e0be86
commit 1c2e62d2f4
2 changed files with 6 additions and 0 deletions

View File

@@ -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());