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