From: Torsten Dreyer Date: Sat, 6 Aug 2016 21:12:43 +0000 (+0200) Subject: Also use SBRJ as fallback. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e9eb04d55cb68877bdf13b6b9e84f34a044db7b6;p=flightgear.git Also use SBRJ as fallback. Sigh. No real good idea how to /not/ hardcode this. --- 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());