Core/Movement: Fixed MoveRotate not updating orientation

This commit is contained in:
Shauren
2024-02-28 20:41:04 +01:00
parent c70bd6f5e4
commit 288966e796

View File

@@ -603,7 +603,7 @@ void Unit::UpdateSplinePosition()
return;
}
if (HasUnitState(UNIT_STATE_CANNOT_TURN))
if (HasUnitState(UNIT_STATE_LOST_CONTROL | UNIT_STATE_FOCUSING))
loc.orientation = GetOrientation();
UpdatePosition(loc.x, loc.y, loc.z, loc.orientation);