diff options
author | megamage <none@none> | 2009-08-13 11:47:38 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-13 11:47:38 -0500 |
commit | 9cff946d8d6e91eaa096e2b0702b788fa1c5327e (patch) | |
tree | 467a2bb27feaae85ca167d88e25bafb0c71ca6ac /src/game/Object.cpp | |
parent | 6b19d80f72c475e6e3fdcfb21944b7c3500402bf (diff) |
*Add an assert in ~worldobject
--HG--
branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r-- | src/game/Object.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp index edf7f949d26..334790402b9 100644 --- a/src/game/Object.cpp +++ b/src/game/Object.cpp @@ -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( ) { |