set fallback location to LKPR
This commit is contained in:
parent
7e9549c1bc
commit
a82d955554
1 changed files with 1 additions and 1 deletions
|
@ -725,7 +725,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("KBOS");
|
const FGAirport* airport = fgFindAirportID("LKPR");
|
||||||
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