From 3c5d4adcf0d6d9b9d5e494f075c0e97333fe79ba Mon Sep 17 00:00:00 2001 From: Ted John Date: Mon, 5 Sep 2016 20:59:38 +0100 Subject: [PATCH] Remove RCT2_GLOBALs from staff window --- src/windows/staff.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/windows/staff.c b/src/windows/staff.c index 798a6f7fae..43c8ade0f7 100644 --- a/src/windows/staff.c +++ b/src/windows/staff.c @@ -1293,7 +1293,7 @@ void window_staff_viewport_init(rct_window* w){ } else{ viewport_flags = 0; - if (RCT2_GLOBAL(RCT2_ADDRESS_CONFIG_FLAGS, uint8) & 0x1) + if (gConfigGeneral.always_show_gridlines) viewport_flags |= VIEWPORT_FLAG_GRIDLINES; } @@ -1351,8 +1351,6 @@ void window_staff_options_mousedown(int widgetIndex, rct_window* w, rct_widget* no_entries++; } } - // Save number of entrys. Not required any more. - RCT2_GLOBAL(0xF43926, uint16) = no_entries; rct_peep* peep = GET_PEEP(w->number); int item_checked = 0;