1
0
Fork 0

Also use SBRJ as fallback.

Sigh. No real good idea how to /not/ hardcode this.
This commit is contained in:
Torsten Dreyer 2016-08-06 23:12:43 +02:00
parent a0b4f20cfe
commit 1947c100d9

View file

@ -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());