actually can just use this directly

This commit is contained in:
Alug committed 2025-02-26 13:04:35 +01:00
1 parent 6b049ad86d
commit 7fdf986df4
1 file changed
+2 -23
+2 -23
View File
@@ -5275,29 +5275,8 @@ void P_SpawnSpecials(INT32 fromnetsave, boolean reloadinggamestate)
}
}
switch (mapheaderinfo[gamemap-1]->weather)
{
case 2: // snow
curWeather = PRECIP_SNOW;
break;
case 3: // rain
curWeather = PRECIP_RAIN;
break;
case 1: // storm
curWeather = PRECIP_STORM;
break;
case 5: // storm w/o rain
curWeather = PRECIP_STORM_NORAIN;
break;
case 6: // storm w/o lightning
curWeather = PRECIP_STORM_NOSTRIKES;
break;
case 4: // blank
curWeather = PRECIP_BLANK;
break;
default:
curWeather = PRECIP_NONE;
}
// set current weather
curWeather = mapheaderinfo[gamemap-1]->weather;
P_InitTagLists(); // Create xref tables for tags
P_SearchForDisableLinedefs(); // Disable linedefs are now allowed to disable *any* line