Loading

Paste #p27eqxtkx

  1. --- C:/users/ricardo/appdata/local/temp/thg.deauyj/trunk.10.22740/src/aircraft_cmd.cpp  qui jan 25 16:10:52 2018
  2. +++ C:/users/ricardo/appdata/local/temp/thg.deauyj/trunk.10.22741/src/aircraft_cmd.cpp  qui jan 25 16:10:52 2018
  3. @@ -133,6 +133,9 @@ static StationID FindNearestHangar(const Aircraft
  4.         /* don't crash the plane if we know it can't land at the airport */
  5.         if ((afc->flags & AirportFTAClass::SHORT_STRIP) && (avi->subtype & AIR_FAST) && !_cheats.no_jetcrash.value) continue;
  6.  
  7. +       /* the plane won't land at any helicopter station */
  8. +       if (!(afc->flags & AirportFTAClass::AIRPLANES) && (avi->subtype & AIR_CTOL)) continue;
  9. +
  10.         /* v->tile can't be used here, when aircraft is flying v->tile is set to 0 */
  11.         uint distance = DistanceSquare(vtile, st->airport.tile);
  12.         if (v->acache.cached_max_range_sqr != 0) {

Version history

Revision # Author Created at
piggrywxq Anonymous 25 Jan 2018, 16:14:03 UTC Diff

Comments