X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FEnvironment%2Fprecipitation_mgr.cxx;h=727087f835b62e274ebb85fe6b02dd199017c91d;hb=49677f512b8edaaf22c76761dbbf9c0850c79aad;hp=29d64cde06c5cfb3adcc37278130b075856b6c89;hpb=19d9287d3a58610f04a9f8f948882b2ec388ca3c;p=flightgear.git diff --git a/src/Environment/precipitation_mgr.cxx b/src/Environment/precipitation_mgr.cxx index 29d64cde0..727087f83 100644 --- a/src/Environment/precipitation_mgr.cxx +++ b/src/Environment/precipitation_mgr.cxx @@ -228,8 +228,8 @@ void FGPrecipitationMgr::update(double dt) } 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