Skip to content

Commit

Permalink
Update src/openrct2/ride/Vehicle.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tupaschoal authored and Gymnasiast committed Oct 3, 2024
1 parent 51be2a2 commit c127def
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/openrct2/ride/Vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8592,7 +8592,9 @@ bool Vehicle::UpdateTrackMotionUpdateCar(
if (car->remaining_distance < 0x368A)
{
// Location found
return UpdateTrackMotionLoc6DBF3E(car, outStation, spriteId);
bool mustReturn = UpdateTrackMotionLoc6DBF3E(car, outStation, spriteId);
if (mustReturn)
return _vehicleMotionTrackFlags;
}
if (car->UpdateTrackMotionForwards(&carEntry, curRide, rideEntry))
{
Expand Down

0 comments on commit c127def

Please sign in to comment.