src/openttd.cpp
changeset 10419 d9a1fa739477
parent 10380 f4adb9648a93
child 10429 b81d72d5b44a
--- a/src/openttd.cpp	Sat Dec 13 18:19:44 2008 +0000
+++ b/src/openttd.cpp	Sat Dec 13 18:25:42 2008 +0000
@@ -2593,6 +2593,16 @@
 		}
 	}
 
+	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();