mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
*first remove corpse from world then resetmap
--HG-- branch : trunk
This commit is contained in:
@@ -65,8 +65,8 @@ Map::~Map()
|
||||
WorldObject *obj = *i_worldObjects.begin();
|
||||
assert(obj->m_isWorldObject);
|
||||
//assert(obj->GetTypeId() == TYPEID_CORPSE);
|
||||
obj->ResetMap();
|
||||
obj->RemoveFromWorld();
|
||||
obj->ResetMap();
|
||||
}
|
||||
|
||||
if(!m_scriptSchedule.empty())
|
||||
|
||||
Reference in New Issue
Block a user