File diff r23953:ba75d2f3b530 → r23954:8e43140b9a66
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -162,14 +162,13 @@ void ConvertOldMultiheadToNew()
 

	
 

	
 
/** need to be called to load aircraft from old version */
 
void UpdateOldAircraft()
 
{
 
	/* set airport_flags to 0 for all airports just to be sure */
 
	Station *st;
 
	FOR_ALL_STATIONS(st) {
 
	for (Station *st : Station::Iterate()) {
 
		st->airport.flags = 0; // reset airport
 
	}
 

	
 
	Aircraft *a;
 
	FOR_ALL_AIRCRAFT(a) {
 
		/* airplane has another vehicle with subtype 4 (shadow), helicopter also has 3 (rotor)