Remove unused variables

This commit is contained in:
Kane 2021-08-12 22:56:21 +10:00 committed by Ted John
parent 2e93e42a71
commit 564dee2671
2 changed files with 0 additions and 6 deletions

View File

@ -1374,7 +1374,6 @@ rct_window* WindowRideOpenVehicle(Vehicle* vehicle)
static void WindowRideSetPage(rct_window* w, int32_t page)
{
int32_t listen;
auto ride = get_ride(w->number);
if (input_test_flag(INPUT_FLAG_TOOL_ACTIVE))
if (w->classification == gCurrentToolWidget.window_classification && w->number == gCurrentToolWidget.window_number)

View File

@ -76,11 +76,6 @@ static constexpr const int32_t WH = 300;
static constexpr ScreenSize ICON_BUTTON = {24, 24};
static constexpr ScreenSize FLAT_BUTTON = {24, 12};
static constexpr ScreenSize CHEAT_BUTTON = {110, 17};
static constexpr ScreenSize CHEAT_CHECK = {221, 12};
static constexpr ScreenSize CHEAT_SPINNER = {117, 14};
static constexpr ScreenSize MINMAX_BUTTON = {55, 17};
static constexpr const int32_t TAB_WIDTH = 31;
static constexpr const int32_t TAB_START = 3;