Small refactoring/cleanup.
This commit is contained in:
parent
aa22b7d3b5
commit
749ccd80b6
7 changed files with 55 additions and 72 deletions
|
|
@ -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) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue