From e9eb04d55cb68877bdf13b6b9e84f34a044db7b6 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Sat, 6 Aug 2016 23:12:43 +0200 Subject: [PATCH] Also use SBRJ as fallback. Sigh. No real good idea how to /not/ hardcode this. --- src/Main/positioninit.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Main/positioninit.cxx b/src/Main/positioninit.cxx index 6c72649ea..ddc789c6e 100644 --- a/src/Main/positioninit.cxx +++ b/src/Main/positioninit.cxx @@ -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()); -- 2.39.5