Core/Movement: Fix wrong orientation set when pausing movement

Port From (https://github.com/TrinityCore/TrinityCore/commit/292df30394dc9e15bbdcc6303b35f97bf6a07ae9)
This commit is contained in:
hondacrx
2022-01-05 23:41:39 -05:00
parent 3a0522e188
commit b373fc6ced
2 changed files with 32 additions and 20 deletions
+5
View File
@@ -248,6 +248,11 @@ namespace Game.Movement
return ms / 1000.0f;
}
public bool HasStarted()
{
return time_passed > 0;
}
public void Interrupt() { splineflags.SetUnsetFlag(SplineFlag.Done); }
public void UpdateState(int difftime)
{