mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Add missing checks for PF_FINISHED in HUD code
This commit is contained in:
parent
24744d07e4
commit
b4987636fe
1 changed files with 2 additions and 2 deletions
|
@ -2106,7 +2106,7 @@ static void ST_drawTextHUD(void)
|
|||
textHUDdraw(M_GetText("\x82""FIRE:""\x80 Enter game"))
|
||||
}
|
||||
|
||||
if (gametype == GT_COOP && (!stplyr->spectator || (!(maptol & TOL_NIGHTS) && G_IsSpecialStage(gamemap))) && stplyr->exiting)
|
||||
if (gametype == GT_COOP && (!stplyr->spectator || (!(maptol & TOL_NIGHTS) && G_IsSpecialStage(gamemap))) && (stplyr->exiting || (stplyr->pflags & PF_FINISHED)))
|
||||
{
|
||||
UINT8 numneeded = (G_IsSpecialStage(gamemap) ? 4 : cv_playersforexit.value);
|
||||
if (numneeded)
|
||||
|
@ -2121,7 +2121,7 @@ static void ST_drawTextHUD(void)
|
|||
continue;
|
||||
|
||||
total++;
|
||||
if (players[i].exiting)
|
||||
if (players[i].exiting || (players[i].pflags & PF_FINISHED))
|
||||
exiting++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue