diff --git a/distribution/changelog.txt b/distribution/changelog.txt index c2653a3a21..1f4cee7a3e 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -8,6 +8,7 @@ - Fix: [#22962] Fuzzy horizontal-to-vertical line transitions in charts. - Fix: [#23009] Scenarios from RCT Classic (.sea files) are not included in the scenario index. - Fix: [#23015] Crash when loading a save game when the construction window is still open. +- Fix: [#23023] Large scenery clearance height interpreted as negative when greater than 127. 0.4.15 (2024-10-06) ------------------------------------------------------------------------ diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index a1c1edf24d..d4cb290212 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -49,7 +49,7 @@ using namespace OpenRCT2; // It is used for making sure only compatible builds get connected, even within // single OpenRCT2 version. -constexpr uint8_t kNetworkStreamVersion = 7; +constexpr uint8_t kNetworkStreamVersion = 8; const std::string kNetworkStreamID = std::string(OPENRCT2_VERSION) + "-" + std::to_string(kNetworkStreamVersion); diff --git a/src/openrct2/object/LargeSceneryObject.cpp b/src/openrct2/object/LargeSceneryObject.cpp index d96679b08f..8d5d5bb975 100644 --- a/src/openrct2/object/LargeSceneryObject.cpp +++ b/src/openrct2/object/LargeSceneryObject.cpp @@ -253,7 +253,7 @@ std::vector LargeSceneryObject::ReadJsonTiles(json_t& jTiles) tile.offset.x = Json::GetNumber(jTile["x"]); tile.offset.y = Json::GetNumber(jTile["y"]); tile.offset.z = Json::GetNumber(jTile["z"]); - tile.zClearance = Json::GetNumber(jTile["clearance"]); + tile.zClearance = Json::GetNumber(jTile["clearance"]); tile.hasSupports = Json::GetBoolean(jTile["hasSupports"]); tile.allowSupportsAbove = Json::GetBoolean(jTile["allowSupportsAbove"]);