From d21cc0f73105b949e14157818dbe0c0041be7a2a Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Wed, 29 Apr 2015 12:09:52 +0200 Subject: [PATCH] Add extra comment --- src/windows/map.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/map.c b/src/windows/map.c index 2a02256038..742f9e5809 100644 --- a/src/windows/map.c +++ b/src/windows/map.c @@ -378,6 +378,8 @@ static void window_map_mousedown(int widgetIndex, rct_window*w, rct_widget* widg } else if (widgetIndex == WIDX_SET_LAND_RIGHTS) { + // When unselecting the land rights tool, reset the size so the number doesn't + // stay in the map window. RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) = 1; } }