mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 22:05:20 -04:00
draw par times on intermission screen before endpic (#749)
This commit is contained in:
parent
26f676e6d3
commit
8d148e9457
14
src/g_game.c
14
src/g_game.c
@ -1271,12 +1271,20 @@ static void G_DoCompleted(void)
|
|||||||
if (gamemapinfo)
|
if (gamemapinfo)
|
||||||
{
|
{
|
||||||
const char *next = NULL;
|
const char *next = NULL;
|
||||||
|
boolean intermission = false;
|
||||||
|
|
||||||
if (U_CheckField(gamemapinfo->endpic) && gamemapinfo->nointermission)
|
if (U_CheckField(gamemapinfo->endpic))
|
||||||
|
{
|
||||||
|
if (gamemapinfo->nointermission)
|
||||||
{
|
{
|
||||||
gameaction = ga_victory;
|
gameaction = ga_victory;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
intermission = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (secretexit && gamemapinfo->nextsecret[0])
|
if (secretexit && gamemapinfo->nextsecret[0])
|
||||||
next = gamemapinfo->nextsecret;
|
next = gamemapinfo->nextsecret;
|
||||||
@ -1294,6 +1302,10 @@ static void G_DoCompleted(void)
|
|||||||
for (i = 0; i < MAXPLAYERS; i++)
|
for (i = 0; i < MAXPLAYERS; i++)
|
||||||
players[i].didsecret = false;
|
players[i].didsecret = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (next || intermission)
|
||||||
|
{
|
||||||
wminfo.didsecret = players[consoleplayer].didsecret;
|
wminfo.didsecret = players[consoleplayer].didsecret;
|
||||||
wminfo.partime = gamemapinfo->partime * TICRATE;
|
wminfo.partime = gamemapinfo->partime * TICRATE;
|
||||||
um_pars = true;
|
um_pars = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user