src/openttd.cpp
changeset 10419 d9a1fa739477
parent 10380 f4adb9648a93
child 10429 b81d72d5b44a
equal deleted inserted replaced
10418:faf551975df7 10419:d9a1fa739477
  2591 		FOR_ALL_STATIONS(st) {
  2591 		FOR_ALL_STATIONS(st) {
  2592 			st->indtype = IT_INVALID;
  2592 			st->indtype = IT_INVALID;
  2593 		}
  2593 		}
  2594 	}
  2594 	}
  2595 
  2595 
       
  2596 	if (CheckSavegameVersion(103)) {
       
  2597 		Vehicle *v;
       
  2598 		FOR_ALL_VEHICLES(v) {
       
  2599 			/* Set engine_type of shadow and rotor */
       
  2600 			if (v->type == VEH_AIRCRAFT && !IsNormalAircraft(v)) {
       
  2601 				v->engine_type = v->First()->engine_type;
       
  2602 			}
       
  2603 		}
       
  2604 	}
       
  2605 
  2596 	GamelogPrintDebug(1);
  2606 	GamelogPrintDebug(1);
  2597 
  2607 
  2598 	return InitializeWindowsAndCaches();
  2608 	return InitializeWindowsAndCaches();
  2599 }
  2609 }
  2600 
  2610