Drizzle is considered to be light rain. Backportable to 2020.2. Fixes ticket 1792

This commit is contained in:
legoboyvdlp R 2020-08-08 12:25:33 +01:00 committed by James Turner
parent a93629a127
commit 888a0a8ed5

View File

@ -952,6 +952,8 @@ bool SGMetar::scanWeather()
weather += string(a->text) + " ";
if (!strcmp(a->id, "RA"))
_rain = w.intensity;
else if (!strcmp(a->id, "DZ"))
_rain = LIGHT;
else if (!strcmp(a->id, "HA"))
_hail = w.intensity;
else if (!strcmp(a->id, "SN"))