Don't use the properties in /environment/metar but the properties
unter /environment, so these values can be set from other environment
controllers.
}
else {
// The aircraft is bellow the cloud layer
- rain_intensity = fgGetDouble("/environment/metar/rain-norm", 0.0);
- snow_intensity = fgGetDouble("/environment/metar/snow-norm", 0.0);
+ rain_intensity = fgGetDouble("/environment/rain-norm", 0.0);
+ snow_intensity = fgGetDouble("/environment/snow-norm", 0.0);
}
// Get the current and dew temperature