diff options
author | peter1138 <peter1138@openttd.org> | 2006-01-02 22:40:39 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-01-02 22:40:39 +0000 |
commit | f55153ce3c8280200dd50b02e460bb486bb59aaf (patch) | |
tree | 425ea95a1c67b48fad4a35308b29f86a59f6c903 | |
parent | eeeebf9f6dd42b522c47f09e81fec6b9a033ec42 (diff) | |
download | openttd-f55153ce3c8280200dd50b02e460bb486bb59aaf.tar.xz |
(svn r3360) Fix initialization of engines for precalculation of default refit mask.
-rw-r--r-- | newgrf.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2463,6 +2463,9 @@ static void ResetNewGRFData(void) // Reset station classes ResetStationClasses(); ResetCustomStations(); + + // Add engine type to engine data. This is needed for the refit precalculation. + AddTypeToEngines(); } static void InitNewGRFFile(const char* filename, int sprite_offset) |