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 | c5496ae092aaec5d3aeb16bbbfde470f6aeb229c (patch) | |
tree | 425ea95a1c67b48fad4a35308b29f86a59f6c903 | |
parent | d5ce50a405fa344cd070b35e0e31b68be5fab42e (diff) | |
download | openttd-c5496ae092aaec5d3aeb16bbbfde470f6aeb229c.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) |