1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Remove RCT2_GLOBALs from staff window

This commit is contained in:
Ted John
2016-09-05 20:59:38 +01:00
parent eebdf8be7f
commit 3c5d4adcf0

View File

@@ -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;