*Add an assert in ~worldobject

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-08-13 11:47:38 -05:00
1 parent 6b19d80f72
commit 9cff946d8d
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -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( )
{