From f293dee3d1b07e224c2bf0ed88905621f7f2ada5 Mon Sep 17 00:00:00 2001 From: Richard Qian Date: Mon, 14 Dec 2020 16:49:43 -0600 Subject: [PATCH] Fix incorrect label when using Log Bumps piece on Car Ride --- src/openrct2-ui/windows/RideConstruction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2-ui/windows/RideConstruction.cpp b/src/openrct2-ui/windows/RideConstruction.cpp index 3c84d635b9..13179e4590 100644 --- a/src/openrct2-ui/windows/RideConstruction.cpp +++ b/src/openrct2-ui/windows/RideConstruction.cpp @@ -2245,7 +2245,7 @@ static void window_ride_construction_invalidate(rct_window* w) if (_currentTrackCurve & RideConstructionSpecialPieceSelected) { stringId = RideConfigurationStringIds[_currentTrackCurve & ~RideConstructionSpecialPieceSelected]; - if (stringId == STR_RAPIDS && ride->type == RIDE_TYPE_MONSTER_TRUCKS) + if (stringId == STR_RAPIDS && (ride->type == RIDE_TYPE_MONSTER_TRUCKS || ride->type == RIDE_TYPE_CAR_RIDE)) { stringId = STR_LOG_BUMPS; } @@ -3346,7 +3346,7 @@ static void window_ride_construction_show_special_track_dropdown(rct_window* w, if (trackPieceStringId == STR_RAPIDS) { auto ride = get_ride(_currentRideIndex); - if (ride != nullptr && ride->type == RIDE_TYPE_MONSTER_TRUCKS) + if (ride != nullptr && (ride->type == RIDE_TYPE_MONSTER_TRUCKS || ride->type == RIDE_TYPE_CAR_RIDE)) trackPieceStringId = STR_LOG_BUMPS; } if (trackPieceStringId == STR_SPINNING_CONTROL_TOGGLE_TRACK)