1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Increase limit on Loan Interest from 80% to 255%

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
This commit is contained in:
73
2022-09-27 06:20:01 -04:00
committed by GitHub
parent 84abc2ab83
commit a8073f6bd5
6 changed files with 9 additions and 5 deletions

View File

@@ -89,7 +89,7 @@ GameActions::Result ScenarioSetSettingAction::Execute() const
window_invalidate_by_class(WindowClass::Finances);
break;
case ScenarioSetSetting::AnnualInterestRate:
gBankLoanInterestRate = std::clamp<uint8_t>(_value, 0, 80);
gBankLoanInterestRate = std::clamp<uint8_t>(_value, 0, MaxBankLoanInterestRate);
window_invalidate_by_class(WindowClass::Finances);
break;
case ScenarioSetSetting::ForbidMarketingCampaigns: