forked from rosebudai/OpenRCT2-Web
Change most things and formatting to money64
This commit is contained in:
1 parent
9ba19689d7
commit
70d9c1438e
45 files changed
+264
-214
No files matched your search
@@ -774,7 +774,7 @@ static int32_t cc_set(InteractiveConsole& console, const arguments_t& argv)
|
||||
}
|
||||
else if (argv[0] == "current_loan" && invalidArguments(&invalidArgs, int_valid[0]))
|
||||
{
|
||||
gBankLoan = std::clamp(MONEY(int_val[0] - (int_val[0] % 1000), 0), MONEY(0, 0), gMaxBankLoan);
|
||||
gBankLoan = std::clamp<money64>(MONEY(int_val[0] - (int_val[0] % 1000), 0), MONEY(0, 0), gMaxBankLoan);
|
||||
console.Execute("get current_loan");
|
||||
}
|
||||
else if (argv[0] == "max_loan" && invalidArguments(&invalidArgs, int_valid[0]))
|
||||
|
||||
Reference in new issue
Block a user