Merge pull request #882 from duncanspumpkin/fix_cursor

Fix cursor
This commit is contained in:
Ted John 2015-02-27 23:24:40 +00:00
commit 4942a40088
1 changed files with 4 additions and 2 deletions

View File

@ -690,9 +690,11 @@ static void window_scenery_update(rct_window *w)
gfx_invalidate_screen();
if (!window_scenery_is_scenery_tool_active())
if (!window_scenery_is_scenery_tool_active()){
window_close(w);
return;
}
if (window_scenery_is_repaint_scenery_tool_on == 1) { // the repaint scenery tool is active
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_TOOL, uint8) = 0x17;
} else {