aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-18 11:39:25 -0600
committermegamage <none@none>2009-01-18 11:39:25 -0600
commita88ee15ef370afb1e53e064e872ddba056c71012 (patch)
tree464e6dfcb88c9f745e962e5fbd36997284716767 /src
parenteb21e69c3adf4f22366557a8a9b4c9db2a62408b (diff)
*Add some debug message to find crash bug.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index ef2570ddc9a..ed921d85fa5 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -258,8 +258,9 @@ Unit::~Unit()
if(m_charmInfo) delete m_charmInfo;
- RemoveAllAuras();
- assert(m_Auras.begin() == m_Auras.end());
+ sLog.outDetail("Deconstruct Unit Entry = %u", GetEntry());
+ if(m_scAuras.size())
+ sLog.outError("Unit %u has sc auras during deconstruction", GetEntry());
}
void Unit::Update( uint32 p_time )