mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Merge branch 'fix-236' into 'next'
Only allow explicitly living players to trigger sector specials Closes #236 See merge request STJr/SRB2!1152
This commit is contained in:
commit
1caf92f0ae
1 changed files with 1 additions and 1 deletions
|
@ -4395,7 +4395,7 @@ void P_ProcessSpecialSector(player_t *player, sector_t *sector, sector_t *rovers
|
|||
// Ignore dead players.
|
||||
// If this strange phenomenon could be potentially used in levels,
|
||||
// TODO: modify this to accommodate for it.
|
||||
if (player->playerstate == PST_DEAD)
|
||||
if (player->playerstate != PST_LIVE)
|
||||
return;
|
||||
|
||||
// Conveyor stuff
|
||||
|
|
Loading…
Reference in a new issue