1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix #1899. Prevent mountain tool from being possible for land ownership tool.

This commit is contained in:
duncanspumpkin
2015-10-04 20:44:17 +01:00
parent 7297fc86e9
commit 9017e5ff86

View File

@@ -258,6 +258,8 @@ static void window_map_mouseup(rct_window *w, int widgetIndex)
if (tool_set(w, widgetIndex, 2))
break;
RCT2_GLOBAL(0xF1AD61, sint8) = 2;
// Prevent mountain tool tool size.
RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) = max(MINIMUM_TOOL_SIZE, RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16));
show_gridlines();
show_land_rights();
show_construction_rights();