From edb8765f3f94d72471a46d41f1712a25924e2790 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sat, 16 Jul 2022 19:32:08 -0400 Subject: [PATCH] Core/Transports: Initialize stoppable transports at start of path Port From (https://github.com/TrinityCore/TrinityCore/commit/37c374c49fc287d8a4b1c0a6c5d4a202599b9b09) --- Source/Game/Entities/GameObject/GameObject.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Game/Entities/GameObject/GameObject.cs b/Source/Game/Entities/GameObject/GameObject.cs index 8d1f14758..12099f86d 100644 --- a/Source/Game/Entities/GameObject/GameObject.cs +++ b/Source/Game/Entities/GameObject/GameObject.cs @@ -3609,6 +3609,12 @@ namespace Game.Entities } } + if (!_stopFrames.Empty()) + { + _pathProgress = 0; + _stateChangeProgress = 0; + } + _positionUpdateTimer.Reset(PositionUpdateInterval); }