From 80571814c40853bf2fd91eb9b441cc805824e765 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Wed, 11 Mar 2015 11:26:55 +0100 Subject: [PATCH] Fix old land ownership tool sizes being written to the map window --- src/windows/map.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/windows/map.c b/src/windows/map.c index 48b56f8ad6..0d7db5cb98 100644 --- a/src/windows/map.c +++ b/src/windows/map.c @@ -203,6 +203,8 @@ static void window_map_close() RCT2_GLOBAL(RCT2_ADDRESS_TOOL_WINDOWNUMBER, uint16) == w->number) { tool_cancel(); } + //Reset land tool size + RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) = 0; } /**