Remove unused variables

This commit is contained in:
Kane authored and Ted John committed 2022-03-14 21:40:30 +00:00
1 parent 2e93e42a71
commit 564dee2671
2 files changed
-6

No files matched your search

-1
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)
-5
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;