Fix old land ownership tool sizes being written to the map window

This commit is contained in:
Michael Steenbeek 2015-03-11 11:26:55 +01:00
parent 1f80802dbf
commit 80571814c4
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
/**