mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 03:11:03 +00:00
Disable exit sectors in non-NiGHTS special stages because they interfere with the pits
This commit is contained in:
parent
29b9fec85d
commit
937127e987
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue