*Fix some crash bugs.
--HG-- branch : trunk
This commit is contained in:
1 parent
8770a90bc6
commit
ccde296fd3
9 files changed
+55
-33
No files matched your search
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user