From 60b0ba809a43e358df484fe37f3c9edb64e10d55 Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Sun, 17 Jan 2021 19:37:14 +0100 Subject: [PATCH] Integrate loc_6DBE5E --- src/openrct2/ride/Vehicle.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/openrct2/ride/Vehicle.cpp b/src/openrct2/ride/Vehicle.cpp index 4cee2b3376..16d35834ab 100644 --- a/src/openrct2/ride/Vehicle.cpp +++ b/src/openrct2/ride/Vehicle.cpp @@ -8621,7 +8621,10 @@ loc_6DBA33:; if (!UpdateTrackMotionBackwardsGetNewTrack(trackType, curRide, reinterpret_cast(®s.ax))) { - goto loc_6DBE5E; + _vehicleMotionTrackFlags |= VEHICLE_UPDATE_MOTION_TRACK_FLAG_5; + _vehicleVelocityF64E0C -= remaining_distance - 0x368A; + remaining_distance = 0x368A; + return false; } } @@ -8685,12 +8688,6 @@ loc_6DBA33:; _vehicleUnkF64E10++; goto loc_6DBA33; -loc_6DBE5E: - _vehicleMotionTrackFlags |= VEHICLE_UPDATE_MOTION_TRACK_FLAG_5; - _vehicleVelocityF64E0C -= remaining_distance - 0x368A; - remaining_distance = 0x368A; - return false; - loc_6DBE7F: _vehicleVelocityF64E0C -= remaining_distance - 0x368A; remaining_distance = 0x368A;