aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-07-15 21:31:03 +0200
committerShauren <shauren.trinity@gmail.com>2022-07-15 21:31:03 +0200
commit37c374c49fc287d8a4b1c0a6c5d4a202599b9b09 (patch)
treedb4d31599d930ac7ad0f132c7f529f8b01439f7b /src
parent701532f9f033547a5fc2d0b594d04f6349cb441b (diff)
Core/Transports: Initialize stoppable transports at start of path
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Entities/GameObject/GameObject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp
index 2a917c02131..a3c199a4a1a 100644
--- a/src/server/game/Entities/GameObject/GameObject.cpp
+++ b/src/server/game/Entities/GameObject/GameObject.cpp
@@ -167,6 +167,12 @@ public:
}
}
+ if (!_stopFrames.empty())
+ {
+ _pathProgress = 0;
+ _stateChangeProgress = 0;
+ }
+
_positionUpdateTimer.Reset(PositionUpdateInterval);
}