Missed a null check.
This commit is contained in:
parent
508bc4711b
commit
230d7192c3
3 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1058 \cu(Tue 19 Dec 13:33:47 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r1058 \cu(2023-12-19 13:33:47)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1059 \cu(Tue 19 Dec 16:39:35 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r1059 \cu(2023-12-19 16:39:35)\c-";
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ Class SWWMStaticHandler : StaticEventHandler
|
|||
SWWMHandler.ClearAllShaders();
|
||||
EventHandler.SendInterfaceEvent(consoleplayer,"swwmflushhud");
|
||||
EventHandler.SendInterfaceEvent(consoleplayer,"swwmaprcheck");
|
||||
// quick fix for old savegames
|
||||
// quick fix for old savegames (to be removed in 1.3 release)
|
||||
let hnd = SWWMHandler(EventHandler.Find("SWWMHandler"));
|
||||
if ( hnd && (hnd.sbounds.Size() <= 0) )
|
||||
hnd.PrecalculateSectorBounds();
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ extend Class SWWMUtility
|
|||
while ( bt.Next() )
|
||||
{
|
||||
let a = bt.Thing;
|
||||
if ( !a ) continue; // this can happen, yes
|
||||
// early checks for self and ignored actor (usually the instigator)
|
||||
if ( (a == ignoreme) || (a == Source) )
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue