Account for PRECIP_NONE

This commit is contained in:
NepDisk 2025-06-29 16:48:21 -04:00
parent 51e530f861
commit fd4e128641

View file

@ -4157,6 +4157,9 @@ preciptype_t get_precip(const char *word)
if (eval)
return eval;
if (fasticmp("PRECIP_NONE",word))
return PRECIP_NONE;
}
deh_warning("Couldn't find weather type named 'PRECIP_%s'",word);
return PRECIP_NONE;