mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'jartha/fix-titledemo-freeze' into 'master'
Fix replay playback not processing ticcmds after a titledemo ends Closes #1623 See merge request kart-krew-dev/ring-racers-internal!2732
This commit is contained in:
commit
e7e719b595
2 changed files with 3 additions and 0 deletions
|
|
@ -1251,6 +1251,8 @@ void D_ClearState(void)
|
||||||
|
|
||||||
G_SetGamestate(GS_NULL);
|
G_SetGamestate(GS_NULL);
|
||||||
wipegamestate = GS_NULL;
|
wipegamestate = GS_NULL;
|
||||||
|
|
||||||
|
demo.waitingfortally = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static boolean g_deferredtitle = false;
|
static boolean g_deferredtitle = false;
|
||||||
|
|
|
||||||
|
|
@ -2905,6 +2905,7 @@ void G_DoPlayDemoEx(const char *defdemoname, lumpnum_t deflumpnum)
|
||||||
// read demo header
|
// read demo header
|
||||||
gameaction = ga_nothing;
|
gameaction = ga_nothing;
|
||||||
demo.playback = true;
|
demo.playback = true;
|
||||||
|
demo.waitingfortally = false;
|
||||||
demo.buffer = &demobuf;
|
demo.buffer = &demobuf;
|
||||||
if (memcmp(demobuf.p, DEMOHEADER, 12))
|
if (memcmp(demobuf.p, DEMOHEADER, 12))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue