1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Fix merge conflict

This commit is contained in:
Kyphii
2025-10-04 16:19:56 -04:00
parent 1100cc524d
commit 4dfebb0314

View File

@@ -689,6 +689,7 @@ namespace OpenRCT2::GameActions
bool canSwitch = rtd.SupportsRideMode(newMode) || getGameState().cheats.showAllOperatingModes;
if (canSwitch)
{
ride->windowInvalidateFlags |= RIDE_INVALIDATE_RIDE_OPERATING;
auto rideSetSetting = GameActions::RideSetSettingAction(
ride->id, GameActions::RideSetSetting::Mode, static_cast<uint8_t>(newMode));
ExecuteNested(&rideSetSetting, gameState);