Skip to content

Commit

Permalink
Replace direct check for RIDE_TYPE_LIM_LAUNCHED_ROLLER_COASTER
Browse files Browse the repository at this point in the history
  • Loading branch information
Gymnasiast committed Nov 22, 2024
1 parent d7d53f6 commit a556cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2/actions/TrackRemoveAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ GameActions::Result TrackRemoveAction::Execute() const
{
ride->window_invalidate_flags |= RIDE_INVALIDATE_RIDE_OPERATING;
RideMode newMode = RideMode::ContinuousCircuit;
if (ride->type == RIDE_TYPE_LIM_LAUNCHED_ROLLER_COASTER)
if (ride->mode == RideMode::PoweredLaunchBlockSectioned)
{
newMode = RideMode::PoweredLaunch;
}
Expand Down

0 comments on commit a556cef

Please sign in to comment.