diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 825b30d368..4c02dbf80c 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -16,6 +16,7 @@ - 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: [#22072] Objective date string and staff tenure date string cannot be reused on agglutinative languages. +- Fix: [#22133] Ride time is incorrect for extremely slow speeds. - Fix: [#22231] Invalid object version can cause a crash. - Fix: [#22562] Bottom row of pixels is not always drawn by the OpenGL renderer when zoomed in. - Fix: [#22653] Missing water tiles in RCT1 and RCT2 scenarios. diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index d2e4a0efe6..7bc1dadb3e 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 = 1; +constexpr uint8_t kNetworkStreamVersion = 2; const std::string kNetworkStreamID = std::string(OPENRCT2_VERSION) + "-" + std::to_string(kNetworkStreamVersion); diff --git a/src/openrct2/ride/Vehicle.cpp b/src/openrct2/ride/Vehicle.cpp index 64bf989dec..da4b8734bf 100644 --- a/src/openrct2/ride/Vehicle.cpp +++ b/src/openrct2/ride/Vehicle.cpp @@ -848,7 +848,7 @@ void Vehicle::UpdateMeasurements() curRide->max_speed = absVelocity; } - if (curRide->average_speed_test_timeout == 0 && absVelocity > 0x8000) + if (curRide->average_speed_test_timeout == 0 && absVelocity > 0) { curRide->average_speed = AddClamp(curRide->average_speed, absVelocity); stationForTestSegment.SegmentTime++;