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 Automatic Release Builder
parent 1b00ece8c4
commit f1d00c9b40

View File

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