*Fix a bug that cause crash when player login.
--HG-- branch : trunk
This commit is contained in:
+6
-3
@@ -258,9 +258,12 @@ Unit::~Unit()
|
|||||||
|
|
||||||
if(m_charmInfo) delete m_charmInfo;
|
if(m_charmInfo) delete m_charmInfo;
|
||||||
|
|
||||||
sLog.outDetail("Deconstruct Unit Entry = %u", GetEntry());
|
if(m_uint32Values)
|
||||||
if(m_scAuras.size())
|
{
|
||||||
sLog.outError("Unit %u has sc auras during deconstruction", GetEntry());
|
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 )
|
void Unit::Update( uint32 p_time )
|
||||||
|
|||||||
Reference in New Issue
Block a user