mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
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:
commit
c25cb5732d
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