mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
*Add an assert in ~worldobject
--HG-- branch : trunk
This commit is contained in:
@@ -80,17 +80,15 @@ Object::Object( ) : m_PackGUID(sizeof(uint64)+1)
|
||||
m_PackGUID.appendPackGUID(0);
|
||||
}
|
||||
|
||||
/*
|
||||
WorldObject::~WorldObject()
|
||||
{
|
||||
if(m_currMap)
|
||||
if(m_isWorldObject && m_currMap)
|
||||
{
|
||||
sLog.outCrash("Object::~Object - guid="UI64FMTD", typeid=%d, entry=%u deleted but still in map!!", GetGUID(), GetTypeId(), GetEntry());
|
||||
assert(false);
|
||||
ResetMap();
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
Object::~Object( )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user