diff --git a/src/openrct2/paint/tile_element/scenery.c b/src/openrct2/paint/tile_element/scenery.c index 9d7e1b4298..0fdba16adb 100644 --- a/src/openrct2/paint/tile_element/scenery.c +++ b/src/openrct2/paint/tile_element/scenery.c @@ -93,7 +93,7 @@ void scenery_paint(paint_session * session, uint8 direction, sint32 height, rct_ y_offset = 3; boxlength.x = 26; boxlength.y = 26; - if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_ALLOW_WALLS) { + if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_NO_WALLS) { x_offset = 1; y_offset = 1; boxlength.x = 30; diff --git a/src/openrct2/world/SmallScenery.cpp b/src/openrct2/world/SmallScenery.cpp index 47b95fada7..eb2c67195a 100644 --- a/src/openrct2/world/SmallScenery.cpp +++ b/src/openrct2/world/SmallScenery.cpp @@ -263,7 +263,7 @@ static money32 SmallSceneryPlace(sint16 x, if (flags & GAME_COMMAND_FLAG_APPLY && !(flags & GAME_COMMAND_FLAG_GHOST)) { footpath_remove_litter(x, y, targetHeight); - if (!gCheatsDisableClearanceChecks && (sceneryEntry->small_scenery.flags & SMALL_SCENERY_FLAG_ALLOW_WALLS)) + if (!gCheatsDisableClearanceChecks && (sceneryEntry->small_scenery.flags & SMALL_SCENERY_FLAG_NO_WALLS)) { wall_remove_at(x, y, targetHeight, targetHeight + sceneryEntry->small_scenery.height); } diff --git a/src/openrct2/world/Wall.cpp b/src/openrct2/world/Wall.cpp index cca0d2e89c..066cd380ba 100644 --- a/src/openrct2/world/Wall.cpp +++ b/src/openrct2/world/Wall.cpp @@ -228,7 +228,7 @@ static bool WallCheckObstruction(rct_scenery_entry * wall, case TILE_ELEMENT_TYPE_SMALL_SCENERY: entryType = tileElement->properties.scenery.type; entry = get_small_scenery_entry(entryType); - if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_ALLOW_WALLS) + if (entry->small_scenery.flags & SMALL_SCENERY_FLAG_NO_WALLS) { map_obstruction_set_error_text(tileElement); return false; diff --git a/src/openrct2/world/scenery.h b/src/openrct2/world/scenery.h index 2097608776..1e6854fed3 100644 --- a/src/openrct2/world/scenery.h +++ b/src/openrct2/world/scenery.h @@ -68,7 +68,7 @@ typedef enum { SMALL_SCENERY_FLAG_HAS_FRAME_OFFSETS = (1 << 15), // 0x8000 SMALL_SCENERY_FLAG17 = (1 << 16), // 0x10000 SMALL_SCENERY_FLAG_STACKABLE = (1 << 17), // 0x20000; means scenery item can be placed in the air and over water - SMALL_SCENERY_FLAG_ALLOW_WALLS = (1 << 18), // 0x40000 + SMALL_SCENERY_FLAG_NO_WALLS = (1 << 18), // 0x40000 SMALL_SCENERY_FLAG_HAS_SECONDARY_COLOUR = (1 << 19), // 0x80000 SMALL_SCENERY_FLAG_NO_SUPPORTS = (1 << 20), // 0x100000 SMALL_SCENERY_FLAG_VISIBLE_WHEN_ZOOMED = (1 << 21), // 0x200000