Fix crashing at the end of netreplays
This commit is contained in:
1 parent
c6248faa30
commit
49caebd2db
1 file changed
+7
@@ -4614,6 +4614,13 @@ void G_ReadDemoExtraData(void)
|
||||
|
||||
p = READUINT8(demo_p);
|
||||
}
|
||||
|
||||
if (!(demoflags & DF_GHOST) && *demo_p == DEMOMARKER)
|
||||
{
|
||||
// end of demo data stream
|
||||
G_CheckDemoStatus();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void G_WriteDemoExtraData(void)
|
||||
|
||||
Reference in new issue
Block a user