From 685132b5d254a11504504d0b71a32e8bbb986205 Mon Sep 17 00:00:00 2001 From: torsten Date: Fri, 22 May 2009 09:42:15 +0000 Subject: [PATCH] wrong value for station_elevation_ft, meters != feet --- src/Environment/fgclouds.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5