Core/Movement: Fix wrong orientation set when pausing movement

This commit is contained in:
Giacomo Pozzoni authored and Ovahlord committed 2019-12-30 18:54:28 +01:00
1 parent 42e0a6f1f7
commit dfaf4f57a6
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -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();
}