--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-08 17:34:01 -05:00
commit e3272f2b0a
7 files changed
+74 -13

No files matched your search

+3 -1
View File
@@ -1674,7 +1674,9 @@ Map const* WorldObject::GetBaseMap() const
void WorldObject::AddObjectToRemoveList()
{
Map* map = MapManager::Instance().FindMap(GetMapId(), GetInstanceId());
assert(m_uint32Values);
Map* map = FindMap();
if(!map)
{
sLog.outError("Object (TypeId: %u Entry: %u GUID: %u) at attempt add to move list not have valid map (Id: %u).",GetTypeId(),GetEntry(),GetGUIDLow(),GetMapId());