mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Add missing checks for PF_FINISHED in HUD code
This commit is contained in:
parent
658fd6e052
commit
738bfdf99b
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"))
|
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);
|
UINT8 numneeded = (G_IsSpecialStage(gamemap) ? 4 : cv_playersforexit.value);
|
||||||
if (numneeded)
|
if (numneeded)
|
||||||
|
|
@ -2121,7 +2121,7 @@ static void ST_drawTextHUD(void)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
total++;
|
total++;
|
||||||
if (players[i].exiting)
|
if (players[i].exiting || (players[i].pflags & PF_FINISHED))
|
||||||
exiting++;
|
exiting++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue