Merge remote-tracking branch 'origin/master' into mmaps
Conflicts: src/server/game/Movement/Spline/MoveSplineInit.cpp
This commit is contained in:
commit
407286fe81
19 files changed
+149
-33
No files matched your search
@@ -71,10 +71,10 @@ namespace Movement
|
||||
real_position.z = unit->GetTransOffsetZ();
|
||||
real_position.orientation = unit->GetTransOffsetO();
|
||||
}
|
||||
|
||||
// there is a big chance that current position is unknown if current state is not finalized, need compute it
|
||||
// this also allows CalculatePath spline position and update map position in much greater intervals
|
||||
if (!move_spline.Finalized())
|
||||
// Don't compute for transport movement. The unit could be in a motion between two transports, thus having transport moveflag but is resulting in regular positions
|
||||
else if (!move_spline.Finalized())
|
||||
real_position = move_spline.ComputePosition();
|
||||
|
||||
// should i do the things that user should do? - no.
|
||||
|
||||
Reference in new issue
Block a user