summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-01-01 15:06:37 +0000
committerpeter1138 <peter1138@openttd.org>2008-01-01 15:06:37 +0000
commit96d09cfae9fb94a3c0e21036a33d1bedc6373076 (patch)
treeb3924d36a4852bb03fa1ac648b54e9a2732d84b3 /src/openttd.cpp
parent61285721a4af4177d52b6751803b639acb52d60d (diff)
downloadopenttd-96d09cfae9fb94a3c0e21036a33d1bedc6373076.tar.xz
(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index b2c42ccf2..8fbdd0b11 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1371,7 +1371,7 @@ bool AfterLoadGame()
InitializeLandscapeVariables(true);
/* Update all vehicles */
- AfterLoadVehicles();
+ AfterLoadVehicles(true);
/* Update all waypoints */
if (CheckSavegameVersion(12)) FixOldWaypoints();
@@ -2284,7 +2284,7 @@ void ReloadNewGRFData()
LoadStringWidthTable();
/* reload vehicles */
ResetVehiclePosHash();
- AfterLoadVehicles();
+ AfterLoadVehicles(false);
StartupEngines();
/* update station and waypoint graphics */
AfterLoadWaypoints();