*Update active object code.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-26 16:29:55 -06:00
parent c16848a23c
commit ee6418d92a
8 changed files with 56 additions and 37 deletions
+1 -1
View File
@@ -1662,7 +1662,7 @@ void Creature::setDeathState(DeathState s)
{
SetUInt64Value (UNIT_FIELD_TARGET,0); // remove target selection in any cases (can be set at aura remove in Unit::setDeathState)
SetUInt32Value(UNIT_NPC_FLAGS, 0);
if(!isPet())
//if(!isPet())
setActive(false);
if(!isPet() && GetCreatureInfo()->SkinLootId)