diff --git a/src/openrct2/network/network.h b/src/openrct2/network/network.h index b94c2b7e0f..0ae378af72 100644 --- a/src/openrct2/network/network.h +++ b/src/openrct2/network/network.h @@ -55,7 +55,7 @@ extern "C" { // This define specifies which version of network stream current build uses. // It is used for making sure only compatible builds get connected, even within // single OpenRCT2 version. -#define NETWORK_STREAM_VERSION "11" +#define NETWORK_STREAM_VERSION "12" #define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION #ifdef __cplusplus diff --git a/src/openrct2/world/wall.cpp b/src/openrct2/world/wall.cpp index 033979c107..0276a42596 100644 --- a/src/openrct2/world/wall.cpp +++ b/src/openrct2/world/wall.cpp @@ -379,14 +379,14 @@ static money32 WallPlace(uint8 wallType, uint16 waterHeight = surfaceElement->properties.surface.terrain & MAP_ELEMENT_WATER_HEIGHT_MASK; waterHeight *= 16; - if (position.z < waterHeight) + if (position.z < waterHeight && !gCheatsDisableClearanceChecks) { gGameCommandErrorText = STR_CANT_BUILD_THIS_UNDERWATER; return MONEY32_UNDEFINED; } } - if (position.z / 8 < surfaceElement->base_height) + if (position.z / 8 < surfaceElement->base_height && !gCheatsDisableClearanceChecks) { gGameCommandErrorText = STR_CAN_ONLY_BUILD_THIS_ABOVE_GROUND; return MONEY32_UNDEFINED;