Small refactoring/cleanup.

This commit is contained in:
Mari the Deer 2023-09-24 22:21:57 +02:00
commit 749ccd80b6
7 changed files with 55 additions and 72 deletions

View file

@ -310,6 +310,8 @@ 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) )