summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-03-14 21:14:44 +0000
committerfrosch <frosch@openttd.org>2011-03-14 21:14:44 +0000
commitf81dd357e8178d9f58f81dec64df5625189e9192 (patch)
tree49548c2d3024c201640f268e3d554fc4e7416823 /src
parentd12c2dfa24e8cd71058a6099ede2d98f866fd408 (diff)
downloadopenttd-f81dd357e8178d9f58f81dec64df5625189e9192.tar.xz
(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)
Diffstat (limited to 'src')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index b5764d732..c4f661170 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -542,7 +542,7 @@ Company *DoStartupNewCompany(bool is_ai, CompanyID company = INVALID_COMPANY)
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;