1
0
Fork 0

2018.1: fix default Airport.

As it says in the comments this really shouldn't be hardcoded...
This commit is contained in:
Richard Harrison 2018-02-27 05:09:11 +01:00
parent 82078b632b
commit a6718cc73d

View file

@ -718,7 +718,7 @@ bool initPosition()
if ( !set_pos ) {
// No lon/lat specified, no airport specified, use the default airport
// TODO: don't hardcode this. Really.
const FGAirport* airport = fgFindAirportID("LKPR");
const FGAirport* airport = fgFindAirportID("PHNL");
if( airport ) {
const SGGeod & airportGeod = airport->geod();
fgSetDouble("/sim/presets/longitude-deg", airportGeod.getLongitudeDeg());