*first remove corpse from world then resetmap
--HG-- branch : trunk
This commit is contained in:
1 parent
24f906cfc0
commit
92769d3ffe
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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