From e8faa5e30494ae8cc4de9771f14bd7f4146929ca Mon Sep 17 00:00:00 2001 From: Robert Jordan Date: Thu, 7 May 2015 14:31:34 -0400 Subject: [PATCH] Forgot viewport_interaction --- src/interface/viewport_interaction.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interface/viewport_interaction.c b/src/interface/viewport_interaction.c index 0fd492a6d5..7c131adaae 100644 --- a/src/interface/viewport_interaction.c +++ b/src/interface/viewport_interaction.c @@ -265,6 +265,7 @@ int viewport_interaction_get_item_right(int x, int y, viewport_interaction_info return info->type; } + if ((RCT2_GLOBAL(RCT2_ADDRESS_INPUT_FLAGS, uint32) & (INPUT_FLAG_6 | INPUT_FLAG_TOOL_ACTIVE)) != (INPUT_FLAG_6 | INPUT_FLAG_TOOL_ACTIVE)) if (window_find_by_class(WC_RIDE_CONSTRUCTION) == NULL && window_find_by_class(WC_FOOTPATH) == NULL) return info->type = VIEWPORT_INTERACTION_ITEM_NONE;