From f0054c7307628d5ed54a4fc6c9e456bfc73e195e Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Wed, 12 Aug 2015 00:23:40 +0200 Subject: [PATCH] Fix typo --- src/ride/ride.h | 2 +- src/windows/ride_construction.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ride/ride.h b/src/ride/ride.h index 1ce610aea4..2166b8a37a 100644 --- a/src/ride/ride.h +++ b/src/ride/ride.h @@ -748,7 +748,7 @@ enum { RIDE_TYPE_FLAG_HAS_DATA_LOGGING = 1 << 9, RIDE_TYPE_FLAG_HAS_DROPS = 1 << 10, RIDE_TYPE_FLAG_NO_TEST_MODE = 1 << 11, - RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES = 1 << 12, // used by rides with two variaties, like the u and o shapes of the dinghy slide and the dry and submerged track of the water coaster + RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES = 1 << 12, // used by rides with two variaties, like the u and o shapes of the dinghy slide and the dry and submerged track of the water coaster RIDE_TYPE_FLAG_13 = 1 << 13, // used only by maze, spiral slide and shops RIDE_TYPE_FLAG_HAS_LOAD_OPTIONS = 1 << 14, RIDE_TYPE_FLAG_15 = 1 << 15, // something to do with station, price and viewport zoom diff --git a/src/windows/ride_construction.c b/src/windows/ride_construction.c index d19f090627..7cc2652964 100644 --- a/src/windows/ride_construction.c +++ b/src/windows/ride_construction.c @@ -1139,7 +1139,7 @@ static void window_ride_construction_resize(rct_window *w) disabledWidgets |= (1ULL << WIDX_CONSTRUCT); } } - if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES)) { + if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES)) { disabledWidgets &= ~(1ULL << WIDX_BANKING_GROUPBOX); } if (_rideConstructionState == RIDE_CONSTRUCTION_STATE_ENTRANCE_EXIT || _rideConstructionState == RIDE_CONSTRUCTION_STATE_SELECTED) { @@ -2879,7 +2879,7 @@ static void window_ride_construction_update_widgets(rct_window *w) window_ride_construction_widgets[WIDX_BANK_STRAIGHT].type = WWT_FLATBTN; window_ride_construction_widgets[WIDX_BANK_RIGHT].type = WWT_FLATBTN; } - if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES)) { + if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES)) { if (rideType == RIDE_TYPE_WATER_COASTER) { window_ride_construction_widgets[WIDX_U_TRACK].image = 5158; window_ride_construction_widgets[WIDX_O_TRACK].image = 5159; @@ -3061,7 +3061,7 @@ static void window_ride_construction_update_widgets(rct_window *w) pressedWidgets |= (1ULL << widgetIndex); if (RCT2_GLOBAL(0x00F440D3, uint8) == 0) { - if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIATIES)) { + if (ride_type_has_flag(rideType, RIDE_TYPE_FLAG_TRACK_ELEMENTS_HAVE_TWO_VARIETIES)) { if (_currentTrackCovered & 1) { w->pressed_widgets |= (1ULL << WIDX_O_TRACK); } else {