1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +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

@@ -30,6 +30,7 @@
#include "interface/Window_internal.h"
#include "localisation/Localisation.h"
#include "localisation/LocalisationService.h"
#include "management/Finance.h"
#include "management/NewsItem.h"
#include "object/DefaultObjects.h"
#include "object/ObjectManager.h"
@@ -377,7 +378,7 @@ namespace Editor
gMaxBankLoan = std::clamp<money64>(gMaxBankLoan, 0.00_GBP, 5000000.00_GBP);
gBankLoanInterestRate = std::clamp<uint8_t>(gBankLoanInterestRate, 5, 80);
gBankLoanInterestRate = std::clamp<uint8_t>(gBankLoanInterestRate, 5, MaxBankLoanInterestRate);
}
climate_reset(gClimate);