1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00
This was also allowing bins to be paid for placing in a 4 connected tile
This commit is contained in:
duncanspumpkin
2015-11-10 17:23:38 +00:00
parent 207e8e8008
commit 1f08f092dd

View File

@@ -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;
}