Core/Movement: Fix wrong orientation set when pausing movement
This commit is contained in:
1 parent
42e0a6f1f7
commit
dfaf4f57a6
2 files changed
+3
-1
No files matched your search
@@ -11004,7 +11004,8 @@ void Unit::StopMoving()
|
||||
return;
|
||||
|
||||
// Update position now since Stop does not start a new movement that can be updated later
|
||||
UpdateSplinePosition();
|
||||
if (movespline->HasStarted())
|
||||
UpdateSplinePosition();
|
||||
Movement::MoveSplineInit init(this);
|
||||
init.Stop();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user