diff --git a/language.version b/language.version index 15b105377..e0ce965e0 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r970 \cu(Tue 3 Oct 17:37:33 CEST 2023)\c-"; -SWWM_SHORTVER="\cw1.3pre r970 \cu(2023-10-03 17:37:33)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r971 \cu(Tue 3 Oct 21:52:25 CEST 2023)\c-"; +SWWM_SHORTVER="\cw1.3pre r971 \cu(2023-10-03 21:52:25)\c-"; diff --git a/zscript/handler/swwm_handler_worldtick.zsc b/zscript/handler/swwm_handler_worldtick.zsc index 189efa2d6..ebfb986c6 100644 --- a/zscript/handler/swwm_handler_worldtick.zsc +++ b/zscript/handler/swwm_handler_worldtick.zsc @@ -289,7 +289,7 @@ extend Class SWWMHandler } else rv = a.pos.xy-players[consoleplayer].Camera.pos.xy; double rad; - bool isproj = a.bMISSILE; + bool isproj = a.bMISSILE&&SWWMUtility.ValidProjectile(a); if ( SWWMUtility.IsBeamProj(a) ) { isproj = true; @@ -310,8 +310,6 @@ extend Class SWWMHandler continue; if ( (a is 'Inventory') && (!a.bSPECIAL || Inventory(a).Owner || (a.GetClassName() == 'aas_token')) ) // autoautosave hotfix continue; - if ( isproj && !SWWMUtility.ValidProjectile(a) ) - continue; if ( (a is 'Chancebox') && (a.CurState != a.SpawnState) ) continue; if ( isproj && !level.allmap && !(a.target && a.target.IsFriend(players[consoleplayer].mo)) && !a.CheckSight(players[consoleplayer].Camera,SF_IGNOREVISIBILITY|SF_IGNOREWATERBOUNDARY) )