Core/Movement: Use spline id generator
This commit is contained in:
1 parent
7c728f7b39
commit
c3e1443a13
3 files changed
+6
-3
No files matched your search
@@ -119,6 +119,7 @@ namespace Movement
|
||||
|
||||
MoveSplineInit::MoveSplineInit(Unit& m) : unit(m)
|
||||
{
|
||||
args.splineId = splineIdGen.NewId();
|
||||
// Elevators also use MOVEMENTFLAG_ONTRANSPORT but we do not keep track of their position changes
|
||||
args.TransformForTransport = unit.GetTransGUID();
|
||||
// mix existing state into new
|
||||
|
||||
Reference in new issue
Block a user