wrong value for station_elevation_ft, meters != feet
This commit is contained in:
parent
8585b2c7b7
commit
685132b5d2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue