From 560fb471e030534d6ec3ca2b5ccb70d15537555f Mon Sep 17 00:00:00 2001 From: frozensnowy Date: Thu, 29 Jan 2026 21:43:05 +0100 Subject: [PATCH] Fix #25775: Network download sizes are not in the claimed KiB --- distribution/changelog.txt | 1 + src/openrct2/network/NetworkBase.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 860d596f81..93fc211cfb 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -10,6 +10,7 @@ - Fix: [#25221] When trying to cancel game file discovery, the prompt reappears. - Fix: [#25739] Game freezes when a tab in the New Ride window contains more than 384 items. - Fix: [#25745] Crash when a player connection is aborted early. +- Fix: [#25775] Network download sizes are in bytes instead of the listed kibibytes. - Fix: [#25799] The animated options tab icon of the news window does not always redraw. - Fix: [#25850] Guests do not have their happiness penalised by low energy, low hunger, low thirst, high toilet. Ride nausea generation different compared to vanilla. - Fix: [#25854] When a guest is at 0 happiness or energy, the game draws too big of a bar in the guest stats window. diff --git a/src/openrct2/network/NetworkBase.cpp b/src/openrct2/network/NetworkBase.cpp index 8c743bf58f..f32ab7084f 100644 --- a/src/openrct2/network/NetworkBase.cpp +++ b/src/openrct2/network/NetworkBase.cpp @@ -1793,7 +1793,7 @@ namespace OpenRCT2::Network } network.GetContext().SetProgress( - static_cast(bytesReceived), static_cast(bytesTotal), STR_STRING_M_OF_N_KIB); + static_cast(bytesReceived / 1024), static_cast(bytesTotal / 1024), STR_STRING_M_OF_N_KIB); } bool NetworkBase::ProcessConnection(Connection& connection)