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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user