]> git.mxchange.org Git - flightgear.git/commitdiff
Also use SBRJ as fallback.
authorTorsten Dreyer <torsten@t3r.de>
Sat, 6 Aug 2016 21:12:43 +0000 (23:12 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 22 Sep 2016 21:27:48 +0000 (23:27 +0200)
Sigh. No real good idea how to /not/ hardcode this.

src/Main/positioninit.cxx

index 6c72649ea27d4143e55e8ac2d23f60806dd30db4..ddc789c6e77b07a070c68f260b90c7848fadb48f 100644 (file)
@@ -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());