--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-25 16:00:38 -06:00
7 changed files with 35 additions and 30 deletions
+8 -4
View File
@@ -155,12 +155,16 @@ m_creatureInfo(NULL), m_reactState(REACT_AGGRESSIVE), m_formationID(0), m_summon
Creature::~Creature()
{
CleanupsBeforeDelete();
m_vendorItemCounts.clear();
delete i_AI;
i_AI = NULL;
if(i_AI)
{
delete i_AI;
i_AI = NULL;
}
if(m_uint32Values)
sLog.outDetail("Deconstruct Creature Entry = %u", GetEntry());
}
void Creature::AddToWorld()