]> git.mxchange.org Git - flightgear.git/commit
Regularized the position initialization:
authordavid <david>
Wed, 1 May 2002 23:13:36 +0000 (23:13 +0000)
committerdavid <david>
Wed, 1 May 2002 23:13:36 +0000 (23:13 +0000)
commitff6943bd096b1f7ab65469bf4ea39b572398512a
treee159069cb78f3d786762fc3845c05a315a0a2e21
parent7a9e2aba719aaccc41813943ce850c977760360f
Regularized the position initialization:

1. If /position/longitude-deg and /position/latitude-deg are in range,
   use them.
2. Otherwise, if /sim/startup/airport-id is not empty, use it.
3. Otherwise, set the lon/lat to the middle of the KSFO field.

The default used to be Globe, AZ, but that doesn't make sense since we
don't distribute that scenery by default any more.

With this change, starting from a save file seems to work properly:

  fgfs myflight.sav
src/Main/main.cxx
src/Main/options.cxx