Ignore spectators
This commit is contained in:
parent
9e31adf22c
commit
a52afc2baf
|
@ -4194,7 +4194,7 @@ boolean P_SupermanLook4Players(mobj_t *actor)
|
||||||
|
|
||||||
for (c = 0; c < MAXPLAYERS; c++)
|
for (c = 0; c < MAXPLAYERS; c++)
|
||||||
{
|
{
|
||||||
if (playeringame[c])
|
if (playeringame[c] && !players[c].spectator)
|
||||||
{
|
{
|
||||||
if (players[c].pflags & PF_INVIS)
|
if (players[c].pflags & PF_INVIS)
|
||||||
continue; // ignore notarget
|
continue; // ignore notarget
|
||||||
|
|
Loading…
Reference in New Issue