Mercurial > hg > openttd
changeset 17496:590bd1fe7019 draft
(svn r22253) -Change: Apply the same inflation to the initial loan as to the maximum loan. Note that this is no change to the economy; it only saves players some clicks when starting companies in later years. (Eddi)
author | frosch <frosch@openttd.org> |
---|---|
date | Mon, 14 Mar 2011 21:14:44 +0000 |
parents | 8ece8493d08b |
children | 2e5487a7d852 |
files | src/company_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -542,7 +542,7 @@ ResetCompanyLivery(c); _company_colours[c->index] = (Colours)c->colour; - c->money = c->current_loan = 100000; + c->money = c->current_loan = (100000ll * _economy.inflation_prices >> 16) / 50000 * 50000; c->share_owners[0] = c->share_owners[1] = c->share_owners[2] = c->share_owners[3] = INVALID_OWNER;