Fix beam projectiles being missing from minimap.
This commit is contained in:
parent
69b49bb1f3
commit
191adb9e2a
2 changed files with 3 additions and 5 deletions
|
|
@ -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) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue