mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
Merge branch 'turret-seeing-ghosts' into 'next'
Fix P_SupermanLook4Players assigning spectators as targets Closes #209 See merge request STJr/SRB2!1151
This commit is contained in:
commit
8f5f248c87
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…
Reference in a new issue