diff --git a/distribution/changelog.txt b/distribution/changelog.txt index b92bc9aa7c..12e272438e 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -9,6 +9,7 @@ - Change: [#22740] Add virtual floor to shifted track design placement. - Change: [#22795] Replace Giga Coaster and Twister Roller Coaster booster images. - Fix: [#2614] The colour tab of the ride window does not hide invisible cars (original bug). +- Fix: [#7672] Wide path status is set to all ‘wide’ paths, instead of only a quarter, impeding pathfinding. - Fix: [#15406] Tunnels on steep Side-Friction track are drawn too low. - Fix: [#21959] “Save this before...?” message does not appear when selecting “New Game”. - Fix: [#22231] Invalid object version can cause a crash. diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index 50f59dfc12..d2e4a0efe6 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 = 0; +constexpr uint8_t kNetworkStreamVersion = 1; const std::string kNetworkStreamID = std::string(OPENRCT2_VERSION) + "-" + std::to_string(kNetworkStreamVersion); diff --git a/src/openrct2/world/Footpath.cpp b/src/openrct2/world/Footpath.cpp index 1c40cc6328..7a1d796c56 100644 --- a/src/openrct2/world/Footpath.cpp +++ b/src/openrct2/world/Footpath.cpp @@ -1596,6 +1596,11 @@ void FootpathUpdatePathWideFlags(const CoordsXY& footpathPos) // FootpathClearWide(x, y); // y -= 0x20; + // Only consider approx. 1/8 of tiles for wide path status + // (NB: the other 7/8 do get cleared above!) + if (!(footpathPos.x & 0xE0) || (!(footpathPos.y & 0xE0))) + return; + TileElement* tileElement = MapGetFirstElementAt(footpathPos); if (tileElement == nullptr) return;