From 6fe3b5bdd287d3d7e7a766e16688b3215e64a1b5 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Tue, 14 Apr 2015 18:45:54 +0200 Subject: [PATCH] Highlight tile when buying construction rights, fixes #1017 --- src/windows/park.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/park.c b/src/windows/park.c index 4e10bfe646..9f3bc15bbe 100644 --- a/src/windows/park.c +++ b/src/windows/park.c @@ -809,7 +809,7 @@ static void window_park_entrance_toolupdate() window_tool_get_registers(w, widgetIndex, x, y); - if (widgetIndex == WIDX_BUY_LAND_RIGHTS) { + if (widgetIndex == WIDX_BUY_LAND_RIGHTS || widgetIndex == WIDX_BUY_CONSTRUCTION_RIGHTS) { map_invalidate_selection_rect(); RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_FLAGS, uint16) &= 0xFFFE; screen_pos_to_map_pos(&x, &y, NULL);