1
0
Fork 0

Change fallback airport to KBOS

This commit is contained in:
Torsten Dreyer 2017-05-17 22:34:38 +02:00
parent 0cc46a1179
commit 406f158067

View file

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