*Fix some crash bugs.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-25 17:53:05 -06:00
1 parent 8770a90bc6
commit ccde296fd3
9 files changed
+55 -33

No files matched your search

+1 -1
View File
@@ -1538,7 +1538,7 @@ Map const* WorldObject::GetBaseMap() const
void WorldObject::AddObjectToRemoveList()
{
Map* map = GetMap();
Map* map = MapManager::Instance().FindMap(GetMapId(), GetInstanceId());
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());