From: torsten Date: Fri, 22 May 2009 09:42:15 +0000 (+0000) Subject: wrong value for station_elevation_ft, meters != feet X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=685132b5d254a11504504d0b71a32e8bbb986205;p=flightgear.git wrong value for station_elevation_ft, meters != feet --- diff --git a/src/Environment/fgclouds.cxx b/src/Environment/fgclouds.cxx index e6e32e435..772d423e8 100644 --- a/src/Environment/fgclouds.cxx +++ b/src/Environment/fgclouds.cxx @@ -442,7 +442,7 @@ void FGClouds::buildScenario( const string& scenario ) { // fetch station elevation if exists if( station == "XXXX" ) - station_elevation_ft = fgGetDouble("/position/ground-elev-m", 0.0); + station_elevation_ft = fgGetDouble("/position/ground-elev-m", 0.0) * SG_METER_TO_FEET; else { const FGAirport* a = FGAirport::findByIdent(station); station_elevation_ft = (a ? a->getElevation() : 0.0);