]> git.mxchange.org Git - flightgear.git/commitdiff
James Turner : in the 'tower' view, where the tower position is explicitly given...
authorfredb <fredb>
Thu, 18 Dec 2008 06:52:51 +0000 (06:52 +0000)
committerfredb <fredb>
Thu, 18 Dec 2008 06:52:51 +0000 (06:52 +0000)
src/Airports/apt_loader.cxx

index 85f803191ccf4d8fe72d165b002ccd5ecc6c2b70..cb64a633eda8c163105e9ce651773e3697de7354 100644 (file)
@@ -246,7 +246,7 @@ bool fgAirportDBLoad( FGAirportList *airports,
             double lat = atof( token[1].c_str() );
             double lon = atof( token[2].c_str() );
             double elev = atof( token[3].c_str() );
-            last_tower = SGGeod::fromDegFt(lon, lat, elev);
+            last_tower = SGGeod::fromDegFt(lon, lat, elev + last_apt_elev);
             got_tower = true;
         } else if ( line_id == 19 ) {
             // windsock entry (ignore)