Force intermission to 10 seconds on replays

This commit is contained in:
fickleheart 2019-02-18 21:33:15 -06:00
parent 188552e069
commit 324108d120

View file

@ -780,6 +780,8 @@ void Y_StartIntermission(void)
{
if (cv_inttime.value == 0 && gametype == GT_COOP)
timer = 0;
else if (demoplayback) // Override inttime (which is pulled from the replay anyway
timer = 10*TICRATE;
else
{
timer = cv_inttime.value*TICRATE;