summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-03-02 15:17:48 +0000
committerDarkvater <darkvater@openttd.org>2007-03-02 15:17:48 +0000
commit991fbeaefabde6cbe8cdb03cc4a296f1a5908c42 (patch)
treef693d317b9289d59ac6ae2c86954285b8c22d449
parentbaf79a6a8586eaff697a4346e384431094e0de5f (diff)
downloadopenttd-991fbeaefabde6cbe8cdb03cc4a296f1a5908c42.tar.xz
(svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed.
-rw-r--r--src/openttd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 8dc6a36fe..29a57d27c 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1852,6 +1852,7 @@ void ReloadNewGRFData(void)
/* reload vehicles */
ResetVehiclePosHash();
AfterLoadVehicles();
+ StartupEngines();
/* update station and waypoint graphics */
AfterLoadWaypoints();
AfterLoadStations();