Remove remaining GLOBALs from guest window

This commit is contained in:
Ted John 2016-09-09 23:39:00 +01:00
parent 2237524f7e
commit 952b9cb194
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,6 @@
*****************************************************************************/
#pragma endregion
#include "../addresses.h"
#include "../config.h"
#include "../game.h"
#include "../input.h"
@ -777,8 +776,9 @@ void window_guest_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;
}
}
window_event_invalidate_call(w);