use MT_NULL instead of number

This commit is contained in:
Alug committed 2025-01-18 14:36:42 +01:00
1 parent aea8cd1d62
commit c1df939ac8
1 file changed
+1 -1
+1 -1
View File
@@ -1784,8 +1784,8 @@ void P_SwitchWeather(INT32 weathernum)
precipmobj = (precipmobj_t *)think;
mobjtype_t type = 0;
INT32 z = 0;
mobjtype_t type = MT_NULL;
if (weathernum == PRECIP_NONE || weathernum == PRECIP_BLANK || weathernum == PRECIP_STORM_NORAIN) // Remove precip, but keep it around for reuse.
{