1
0
Fork 0

Set fallback (hardcoded) startup airport to LSZH

This commit is contained in:
Torsten Dreyer 2016-11-22 09:26:46 +01:00
parent ee1a042847
commit 7f3fa4a3b7

View file

@ -650,7 +650,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("SBRJ");
const FGAirport* airport = fgFindAirportID("LSZH");
if( airport ) {
const SGGeod & airportGeod = airport->geod();
fgSetDouble("/sim/presets/longitude-deg", airportGeod.getLongitudeDeg());