Core/Movement: Fixed MotionMaster::MoveChase default parameters

Port From (https://github.com/TrinityCore/TrinityCore/commit/f5c6ad9621fdad85d8de44eb3ec8ee07f957bc13)
This commit is contained in:
hondacrx
2021-11-15 20:49:38 -05:00
parent c7cb3cc976
commit efb40cecf9
+1 -1
View File
@@ -532,7 +532,7 @@ namespace Game.Movement
}
public void MoveChase(Unit target, float dist, float angle = 0.0f) { MoveChase(target, new ChaseRange(dist), new ChaseAngle(angle)); }
public void MoveChase(Unit target, float dist) { MoveChase(target, new ChaseRange(dist)); }
public void MoveChase(Unit target, ChaseRange? dist = null, ChaseAngle? angle = null)
{
// Ignore movement request if target not exist