mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
Rebase resync
This commit is contained in:
parent
a0797532e8
commit
1997c1e903
3106 changed files with 11118 additions and 627576 deletions
|
|
@ -64,7 +64,7 @@ namespace Movement
|
|||
|
||||
// there is a big chane that current position is unknown if current state is not finalized, need compute it
|
||||
// this also allows calculate spline position and update map position in much greater intervals
|
||||
if (!move_spline.Finalized())
|
||||
if (!move_spline.Finalized() && !transportInfo)
|
||||
real_position = move_spline.ComputePosition();
|
||||
|
||||
if (args.path.empty())
|
||||
|
|
@ -88,7 +88,7 @@ namespace Movement
|
|||
if (args.velocity == 0.f)
|
||||
args.velocity = unit.GetSpeed(SelectSpeedType(moveFlags));
|
||||
|
||||
if (!args.Validate())
|
||||
if (!args.Validate(&unit))
|
||||
return 0;
|
||||
|
||||
unit.m_movementInfo.SetMovementFlags((MovementFlags)moveFlags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue