Core/Transport: fix logic error
Port From (https://github.com/TrinityCore/TrinityCore/commit/a90f60f7d3b482072d0ae3dbfd49580a3ef9ce88)
This commit is contained in:
@@ -183,8 +183,8 @@ namespace Game.Entities
|
|||||||
|
|
||||||
if (timer < _currentFrame.DepartureTime)
|
if (timer < _currentFrame.DepartureTime)
|
||||||
{
|
{
|
||||||
|
justStopped = IsMoving();
|
||||||
SetMoving(false);
|
SetMoving(false);
|
||||||
justStopped = true;
|
|
||||||
if (_pendingStop && GetGoState() != GameObjectState.Ready)
|
if (_pendingStop && GetGoState() != GameObjectState.Ready)
|
||||||
{
|
{
|
||||||
SetGoState(GameObjectState.Ready);
|
SetGoState(GameObjectState.Ready);
|
||||||
|
|||||||
Reference in New Issue
Block a user