File diff r2149:653fa1740f53 → r2150:8d17c2dcd791
economy.c
Show inline comments
 
@@ -778,25 +778,25 @@ void StartupEconomy(void)
 
			} else if (mod > 1) {
 
				price = price * 9 >> 3;
 
			}
 
		}
 
		((int32*)&_price)[i] = price;
 
		_price_frac[i] = 0;
 
	}
 

	
 
	_economy.interest_rate = _opt.diff.initial_interest;
 
	_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)
 
{
 
	TileIndex tile;
 
	TileIndex tile2;
 
	Pair tp;
 

	
 
	/* if mode is false, convert into plural */
 
	SetDParam(0, _cargoc.names_s[s->cargo_type] + (mode?0:32));
 

	
 
	if (s->age < 12) {