Core/Movement: FormationMovementGenerator

Port From (https://github.com/TrinityCore/TrinityCore/commit/84df2c57a385df4503fc1f8ff5dfdf445ea2e31f)
This commit is contained in:
hondacrx
2020-05-07 14:34:16 -04:00
parent c9a91fa62f
commit 415d6d84ba
7 changed files with 198 additions and 30 deletions
@@ -118,7 +118,7 @@ namespace Game.Movement
// Call for creature group update
if (owner.GetFormation() != null && owner.GetFormation().GetLeader() == owner)
owner.GetFormation().LeaderMoveTo(position.GetPositionX(), position.GetPositionY(), position.GetPositionZ());
owner.GetFormation().LeaderMoveTo(position);
}
public override MovementGeneratorType GetMovementGeneratorType()