summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-07-26 14:58:08 +0000
committerpeter1138 <peter1138@openttd.org>2008-07-26 14:58:08 +0000
commitc64e3b488273010ace06cebb2d4b55b03735eb1c (patch)
treed17b928f3de188584a0eaae5d28c2c6ff33bc07e /src/openttd.cpp
parent6466e810ebde631818b08a2974ca2bd3d29e9e10 (diff)
downloadopenttd-c64e3b488273010ace06cebb2d4b55b03735eb1c.tar.xz
(svn r13836) -Fix [FS#2074]: Automatically recalculate inflation if NewGRFs are changed and cargo types are added, so that cargo payment rates are correct.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 0fdb22b55..31bfeb33d 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -2454,6 +2454,7 @@ void ReloadNewGRFData()
/* reload grf data */
GfxLoadSprites();
LoadStringWidthTable();
+ ResetEconomy();
/* reload vehicles */
ResetVehiclePosHash();
AfterLoadVehicles(false);