mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Ignore spectators
This commit is contained in:
parent
cc3a9b1bb1
commit
5301255032
1 changed files with 1 additions and 1 deletions
|
|
@ -4194,7 +4194,7 @@ boolean P_SupermanLook4Players(mobj_t *actor)
|
|||
|
||||
for (c = 0; c < MAXPLAYERS; c++)
|
||||
{
|
||||
if (playeringame[c])
|
||||
if (playeringame[c] && !players[c].spectator)
|
||||
{
|
||||
if (players[c].pflags & PF_INVIS)
|
||||
continue; // ignore notarget
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue