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
commitea7ed286a63fdade4f1b55738a9d0fb110c00c01 (patch)
treed17b928f3de188584a0eaae5d28c2c6ff33bc07e /src/openttd.cpp
parent49c971c8eb096f6ce3dde397c37c0d49631e5ab6 (diff)
downloadopenttd-ea7ed286a63fdade4f1b55738a9d0fb110c00c01.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);