*Merge.
*"Fix Glowing Blood" is not merged. Outdated patch? --HG-- branch : trunk
This commit is contained in:
@@ -478,7 +478,12 @@ void Creature::Update(uint32 diff)
|
||||
break;
|
||||
|
||||
// if creature is charmed, switch to charmed AI
|
||||
UpdateCharmAI();
|
||||
if(NeedChangeAI)
|
||||
{
|
||||
UpdateCharmAI();
|
||||
NeedChangeAI = false;
|
||||
IsAIEnabled = true;
|
||||
}
|
||||
|
||||
if(!IsInEvadeMode() && IsAIEnabled)
|
||||
{
|
||||
@@ -1613,9 +1618,6 @@ void Creature::setDeathState(DeathState s)
|
||||
|
||||
if (canFly() && FallGround())
|
||||
return;
|
||||
|
||||
if(!IsStopped())
|
||||
StopMoving();
|
||||
}
|
||||
Unit::setDeathState(s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user