Location preset for ENBR (2017.1)
This commit is contained in:
parent
15dbe1069d
commit
1f9ece8303
1 changed files with 1 additions and 1 deletions
|
@ -650,7 +650,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("LSZH");
|
const FGAirport* airport = fgFindAirportID("ENBR");
|
||||||
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());
|
||||||
|
|
Loading…
Add table
Reference in a new issue