mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
Fix formatting
This commit is contained in:
@@ -2286,9 +2286,8 @@ static void populate_vehicle_type_dropdown(Ride* ride)
|
||||
bool selectionShouldBeExpanded;
|
||||
int32_t rideTypeIterator, rideTypeIteratorMax;
|
||||
if (gCheatsShowVehiclesFromOtherTrackTypes
|
||||
&& !(
|
||||
ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_FLAT_RIDE) || ride->type == RIDE_TYPE_MAZE
|
||||
|| ride->type == RIDE_TYPE_MINI_GOLF))
|
||||
&& !(ride_type_has_flag(ride->type, RIDE_TYPE_FLAG_FLAT_RIDE) || ride->type == RIDE_TYPE_MAZE
|
||||
|| ride->type == RIDE_TYPE_MINI_GOLF))
|
||||
{
|
||||
selectionShouldBeExpanded = true;
|
||||
rideTypeIterator = 0;
|
||||
|
||||
@@ -864,9 +864,8 @@ static void window_ride_construction_resize(rct_window* w)
|
||||
case TRACK_SLOPE_DOWN_60:
|
||||
disabledWidgets |= (1ULL << WIDX_SLOPE_UP) | (1ULL << WIDX_SLOPE_UP_STEEP);
|
||||
if (!is_track_enabled(TRACK_SLOPE_LONG)
|
||||
&& !(
|
||||
is_track_enabled(TRACK_SLOPE_STEEP_LONG)
|
||||
&& !track_piece_direction_is_diagonal(_currentTrackPieceDirection)))
|
||||
&& !(is_track_enabled(TRACK_SLOPE_STEEP_LONG)
|
||||
&& !track_piece_direction_is_diagonal(_currentTrackPieceDirection)))
|
||||
{
|
||||
disabledWidgets |= (1ULL << WIDX_LEVEL);
|
||||
}
|
||||
@@ -877,9 +876,8 @@ static void window_ride_construction_resize(rct_window* w)
|
||||
case TRACK_SLOPE_UP_60:
|
||||
disabledWidgets |= (1ULL << WIDX_SLOPE_DOWN_STEEP) | (1ULL << WIDX_SLOPE_DOWN);
|
||||
if (!is_track_enabled(TRACK_SLOPE_LONG)
|
||||
&& !(
|
||||
is_track_enabled(TRACK_SLOPE_STEEP_LONG)
|
||||
&& !track_piece_direction_is_diagonal(_currentTrackPieceDirection)))
|
||||
&& !(is_track_enabled(TRACK_SLOPE_STEEP_LONG)
|
||||
&& !track_piece_direction_is_diagonal(_currentTrackPieceDirection)))
|
||||
{
|
||||
disabledWidgets |= (1ULL << WIDX_LEVEL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user