2018.1: fix default Airport.
As it says in the comments this really shouldn't be hardcoded...
This commit is contained in:
parent
82078b632b
commit
a6718cc73d
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue