Fix crashing at the end of netreplays

This commit is contained in:
fickleheart 2019-01-27 19:09:29 -06:00
parent c6248faa30
commit 49caebd2db

View file

@ -4614,6 +4614,13 @@ void G_ReadDemoExtraData(void)
p = READUINT8(demo_p); p = READUINT8(demo_p);
} }
if (!(demoflags & DF_GHOST) && *demo_p == DEMOMARKER)
{
// end of demo data stream
G_CheckDemoStatus();
return;
}
} }
void G_WriteDemoExtraData(void) void G_WriteDemoExtraData(void)