Fix #25775: Network download sizes are not in the claimed KiB

This commit is contained in:
frozensnowy authored and GitHub committed 2026-01-29 21:43:05 +01:00
1 parent 5b40d5b857
commit 560fb471e0
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -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.
+1 -1
View File
@@ -1793,7 +1793,7 @@ namespace OpenRCT2::Network
}
network.GetContext().SetProgress(
static_cast<uint32_t>(bytesReceived), static_cast<uint32_t>(bytesTotal), STR_STRING_M_OF_N_KIB);
static_cast<uint32_t>(bytesReceived / 1024), static_cast<uint32_t>(bytesTotal / 1024), STR_STRING_M_OF_N_KIB);
}
bool NetworkBase::ProcessConnection(Connection& connection)