1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Fix cursor not changing when switching between scenery and other windows

This commit is contained in:
Duncan Frost
2015-02-27 23:00:29 +00:00
parent 4268c930e8
commit cf5f2e0ae4

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 {