Also use SBRJ as fallback.
Sigh. No real good idea how to /not/ hardcode this.
This commit is contained in:
parent
a0b4f20cfe
commit
1947c100d9
1 changed files with 2 additions and 2 deletions
|
@ -652,8 +652,8 @@ bool initPosition()
|
|||
|
||||
if ( !set_pos ) {
|
||||
// No lon/lat specified, no airport specified, use the default airport
|
||||
// TODO: don't hardcode this
|
||||
const FGAirport* airport = fgFindAirportID("LEBL");
|
||||
// TODO: don't hardcode this. Really.
|
||||
const FGAirport* airport = fgFindAirportID("SBRJ");
|
||||
if( airport ) {
|
||||
const SGGeod & airportGeod = airport->geod();
|
||||
fgSetDouble("/sim/presets/longitude-deg", airportGeod.getLongitudeDeg());
|
||||
|
|
Loading…
Reference in a new issue