From 96d09cfae9fb94a3c0e21036a33d1bedc6373076 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Tue, 1 Jan 2008 15:06:37 +0000 Subject: (svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs. --- src/openttd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/openttd.cpp') 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(); -- cgit v1.2.3-54-g00ecf