Merge branch 'specialstagepit-fix' into 'next'

Disable exit sectors in non-NiGHTS special stages because they interfere with the pits

Closes #930

See merge request STJr/SRB2!1900
This commit is contained in:
MascaraSnake 2023-01-28 06:32:16 +00:00
commit c25cb5732d

View file

@ -4579,6 +4579,9 @@ static void P_ProcessExitSector(player_t *player, mtag_t sectag)
if (player->bot)
return;
if (G_IsSpecialStage(gamemap) && !(maptol & TOL_NIGHTS))
return;
// Exit (for FOF exits; others are handled in P_PlayerThink in p_user.c)
P_DoPlayerFinish(player);