Only allow explicitly living players to trigger sector specials

This commit is contained in:
lachwright 2020-09-20 11:49:53 +09:30
parent 9e31adf22c
commit 7eb760afca
1 changed files with 1 additions and 1 deletions

View File

@ -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