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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user