actually can just use this directly
This commit is contained in:
1 parent
6b049ad86d
commit
7fdf986df4
1 file changed
+2
-23
+2
-23
@@ -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
|
||||
|
||||
Reference in new issue
Block a user