aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp4
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( )
{