forked from rosebudai/OpenRCT2-Web
Fix merge conflict
This commit is contained in:
1 parent
1100cc524d
commit
4dfebb0314
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user