(svn r2660) Get rid of some more shifting/anding/casting
This commit is contained in:
@@ -787,7 +787,7 @@ void StartupEconomy(void)
|
||||
_economy.infl_amount = _opt.diff.initial_interest;
|
||||
_economy.infl_amount_pr = max(0, _opt.diff.initial_interest - 1);
|
||||
_economy.max_loan_unround = _economy.max_loan = _opt.diff.max_loan * 1000;
|
||||
_economy.fluct = (byte)(Random()) + 168;
|
||||
_economy.fluct = GB(Random(), 0, 8) + 168;
|
||||
}
|
||||
|
||||
Pair SetupSubsidyDecodeParam(Subsidy *s, bool mode)
|
||||
|
||||
Reference in New Issue
Block a user