diff options
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index ea56b0c58..33ad8e555 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -2593,6 +2593,16 @@ bool AfterLoadGame() } } + if (CheckSavegameVersion(103)) { + Vehicle *v; + FOR_ALL_VEHICLES(v) { + /* Set engine_type of shadow and rotor */ + if (v->type == VEH_AIRCRAFT && !IsNormalAircraft(v)) { + v->engine_type = v->First()->engine_type; + } + } + } + GamelogPrintDebug(1); return InitializeWindowsAndCaches(); |