From e49fcfd7d15b9ebdc6c35cbe281e9b55b20309a4 Mon Sep 17 00:00:00 2001 From: MarcelVos96 Date: Wed, 22 Apr 2026 09:23:14 +0200 Subject: [PATCH] Fix inverted logic around peep watching spots (#26426) --- assets.json | 4 ++-- distribution/changelog.txt | 1 + src/openrct2/entity/Guest.cpp | 2 +- src/openrct2/network/NetworkBase.cpp | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/assets.json b/assets.json index f91ac13684..01b490105c 100644 --- a/assets.json +++ b/assets.json @@ -16,7 +16,7 @@ "sha256": "dabb9787b1576342fca4dd9f64b3f8cfa04a7e6ce9c2bb9610f47b762905c858" }, "replays": { - "url": "https://github.com/OpenRCT2/replays/releases/download/v0.0.92/replays.zip", - "sha256": "455a19172a8df81b935a942bbbda20167b4740b34653fdb74127740686bf4cbe" + "url": "https://github.com/OpenRCT2/replays/releases/download/v0.0.93/replays.zip", + "sha256": "5295f115045eb6945b36b48ca2105c7059e7f6cf8a88832997d6cf878817e1b5" } } diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 6ccf4c85c5..d9411b18d0 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -9,6 +9,7 @@ - Fix: [#26352] The label for path additions is using the wrong text colour in the tile inspector. - Fix: [#26360] Inverted Lay-down Roller Coaster helices are invisible when loading old saves. - Fix: [#26410] Tiles with water can draw incorrectly when there is something underwater and nothing above water. +- Fix: [#26425] Benches don't reduce watching spots from 4 to 2 while other path additions do (should be reversed). 0.5.0 (2026-04-12) ------------------------------------------------------------------------ diff --git a/src/openrct2/entity/Guest.cpp b/src/openrct2/entity/Guest.cpp index cc63b5fc7c..72bc4159ad 100644 --- a/src/openrct2/entity/Guest.cpp +++ b/src/openrct2/entity/Guest.cpp @@ -5652,7 +5652,7 @@ namespace OpenRCT2 return; } - if (!(pathAddEntry->flags & PATH_ADDITION_FLAG_IS_BENCH)) + if ((pathAddEntry->flags & PATH_ADDITION_FLAG_IS_BENCH)) positions_free = 9; } } diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index 32339800d8..687260b619 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -48,7 +48,7 @@ // It is used for making sure only compatible builds get connected, even within // single OpenRCT2 version. -constexpr uint8_t kStreamVersion = 5; +constexpr uint8_t kStreamVersion = 6; const std::string kStreamID = std::string(kOpenRCT2Version) + "-" + std::to_string(kStreamVersion);