Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
Port From (https://github.com/TrinityCore/TrinityCore/commit/bc89e1cdb0da10e53cc9fa4a97565c05bb4c052e)
This commit is contained in:
@@ -2099,7 +2099,7 @@ namespace Scripts.World.NpcSpecial
|
||||
_isSearching = false;
|
||||
_target = target.GetGUID();
|
||||
me.SetWalk(true);
|
||||
me.GetMotionMaster().MovePoint(TrainWrecker.MoveidChase, target.GetNearPosition(3.0f, target.GetAngle(me)));
|
||||
me.GetMotionMaster().MovePoint(TrainWrecker.MoveidChase, target.GetNearPosition(3.0f, target.GetAbsoluteAngle(me)));
|
||||
}
|
||||
else
|
||||
_timer = 3 * Time.InMilliseconds;
|
||||
|
||||
Reference in New Issue
Block a user