G_DoPlayDemo: fix encoremode boolean on demo playback

Fixes the Title Card using the wrong sound effect
This commit is contained in:
James R 2024-02-11 18:18:55 -08:00
parent 796e2b9517
commit 5650dde2ac

View file

@ -3249,7 +3249,7 @@ void G_DoPlayDemo(const char *defdemoname)
P_SetRandSeed(i, randseed[i]);
}
G_InitNew(demoflags & DF_ENCORE, gamemap, true, true); // Doesn't matter whether you reset or not here, given changes to resetplayer.
G_InitNew((demoflags & DF_ENCORE) != 0, gamemap, true, true); // Doesn't matter whether you reset or not here, given changes to resetplayer.
for (i = 0; i < numslots; i++)
{