From 815d349a2ae994f88ea8470e3ee2be51c3acd30c Mon Sep 17 00:00:00 2001 From: Stephan Spengler Date: Tue, 3 Jan 2023 11:20:32 +0100 Subject: [PATCH] Fix: park loan is clamped to a 32-bit integer --- distribution/changelog.txt | 3 ++- src/openrct2/actions/ParkSetLoanAction.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribution/changelog.txt b/distribution/changelog.txt index 4d3b3dc898..8a4091a47e 100644 --- a/distribution/changelog.txt +++ b/distribution/changelog.txt @@ -8,6 +8,7 @@ - Fix: [#18467] “Selected only” Object Selection filter is active in Track Designs Manager, and cannot be toggled. - Fix: [#18905] Ride Construction window theme is not applied correctly. - Fix: [#18911] Mini Golf station does not draw correctly from all angles. +- Fix: [#19026] Park loan is clamped to a 32-bit integer. 0.4.3 (2022-12-14) ------------------------------------------------------------------------ @@ -36,7 +37,7 @@ - Change: [#17998] Show cursor when using inverted mouse dragging. - Change: [#18230] Make the large flat to steep pieces available on the corkscrew roller coaster without cheats. - Change: [#18381] Convert custom invisible paths to the built-in ones. -- Change: [OpenSFX#11, OpenMusic#19] First implementation of official replacement asset packs for sound effects & music. +- Change: [OpenSFX#11, OpenMusic#19] First implementation of official replacement asset packs for sound effects & music. - Fix: [#1491] Clearance of the Cash Machine is too low (original bug). - Fix: [#1519] “See-through rides” doesn't affect all rides (original bug). - Fix: [#6341] “Unlock vehicle limits” does not allow setting fewer vehicles than the vehicle type requires. diff --git a/src/openrct2/actions/ParkSetLoanAction.h b/src/openrct2/actions/ParkSetLoanAction.h index f0dbaa8a16..573d075242 100644 --- a/src/openrct2/actions/ParkSetLoanAction.h +++ b/src/openrct2/actions/ParkSetLoanAction.h @@ -14,7 +14,7 @@ class ParkSetLoanAction final : public GameActionBase { private: - money32 _value{ MONEY32_UNDEFINED }; + money64 _value{ MONEY64_UNDEFINED }; public: ParkSetLoanAction() = default;