--HG--
branch : trunk
This commit is contained in:
gvcoman
2008-11-22 17:10:49 -05:00
parent 915bc1acda
commit a28bea67da
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ void AggressorAI::EnterEvadeMode()
i_creature.GetMotionMaster()->MoveTargetedHome();
}
else if (i_creature.GetOwner() && i_creature.GetOwner()->isAlive())
i_creature.GetMotionMaster()->MoveFollow(owner,PET_FOLLOW_DIST,PET_FOLLOW_ANGLE);
i_creature.GetMotionMaster()->MoveFollow(i_creature.GetOwner(),PET_FOLLOW_DIST,PET_FOLLOW_ANGLE);
i_creature.DeleteThreatList();
i_victimGuid = 0;

View File

@@ -130,5 +130,5 @@ ReactorAI::EnterEvadeMode()
i_creature.GetMotionMaster()->MoveTargetedHome();
}
else if (i_creature.GetOwner() && i_creature.GetOwner()->isAlive())
i_creature.GetMotionMaster()->MoveFollow(owner,PET_FOLLOW_DIST,PET_FOLLOW_ANGLE);
i_creature.GetMotionMaster()->MoveFollow(i_creature.GetOwner(),PET_FOLLOW_DIST,PET_FOLLOW_ANGLE);
}