1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

add global macro: gBankLoanInterestRate

This commit is contained in:
Ted John
2016-04-23 02:06:56 +01:00
parent 3c52983178
commit 5cb25c390f
5 changed files with 14 additions and 17 deletions

View File

@@ -472,11 +472,7 @@ static void editor_clear_map_for_editing()
MONEY(5000000,00)
);
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_INTEREST_RATE, uint8) = clamp(
5,
RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_INTEREST_RATE, uint8),
80
);
gBankLoanInterestRate = clamp(5, gBankLoanInterestRate, 80);
}
climate_reset(RCT2_GLOBAL(RCT2_ADDRESS_CLIMATE, uint8));