*Fix a bug that cause crash when player login.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-18 15:04:27 -06:00
parent 9a2abe9000
commit 7fe257a073
+3
View File
@@ -258,10 +258,13 @@ Unit::~Unit()
if(m_charmInfo) delete m_charmInfo;
if(m_uint32Values)
{
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 )
{