From 1f08f092dd3a4af7fe438c1ed518f00aadea28ff Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Tue, 10 Nov 2015 17:23:38 +0000 Subject: [PATCH] Fix #2273 This was also allowing bins to be paid for placing in a 4 connected tile --- src/world/footpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/footpath.c b/src/world/footpath.c index 291017e930..8a61f1e758 100644 --- a/src/world/footpath.c +++ b/src/world/footpath.c @@ -233,7 +233,7 @@ static money32 footpath_element_update(int x, int y, rct_map_element *mapElement return MONEY32_UNDEFINED; } - if ((unk6 & 0x30) && (mapElement->properties.path.edges & 0x0F) == 0x0F) { + if (!(unk6 & 0x30) && (mapElement->properties.path.edges & 0x0F) == 0x0F) { RCT2_GLOBAL(RCT2_ADDRESS_GAME_COMMAND_ERROR_TEXT, rct_string_id) = STR_NONE; return MONEY32_UNDEFINED; }