forked from rosebudai/OpenRCT2-Web
Fix #1213 once and for all.
Forgot to check that the tool in use was the set land rights tool.
This commit is contained in:
1 parent
b688b1eb5f
commit
cd753e13e4
1 file changed
+1
@@ -642,6 +642,7 @@ static void window_map_paint()
|
||||
|
||||
// FEATURE larger land tool size support
|
||||
if (RCT2_GLOBAL(RCT2_ADDRESS_INPUT_FLAGS, uint32) & INPUT_FLAG_TOOL_ACTIVE &&
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_TOOL_WIDGETINDEX, uint8) == WIDX_SET_LAND_RIGHTS &&
|
||||
(RCT2_GLOBAL(RCT2_ADDRESS_LAND_TOOL_SIZE, sint16) > 7) &&
|
||||
(RCT2_GLOBAL(RCT2_ADDRESS_TOOL_WINDOWCLASS, uint8) == WC_MAP)) {
|
||||
RCT2_GLOBAL(0x009BC677, char) = FORMAT_BLACK;
|
||||
|
||||
Reference in new issue
Block a user