diff options
-rw-r--r-- | src/game/AggressorAI.cpp | 2 | ||||
-rw-r--r-- | src/game/ReactorAI.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game/AggressorAI.cpp b/src/game/AggressorAI.cpp index 04e4f997e7f..4b090f3c799 100644 --- a/src/game/AggressorAI.cpp +++ b/src/game/AggressorAI.cpp @@ -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; diff --git a/src/game/ReactorAI.cpp b/src/game/ReactorAI.cpp index de8f544fddb..9d596751075 100644 --- a/src/game/ReactorAI.cpp +++ b/src/game/ReactorAI.cpp @@ -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); } |