mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Fix #2273
This was also allowing bins to be paid for placing in a 4 connected tile
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user