Fix replays crashing upon completion

This commit is contained in:
fickleheart committed 2019-02-16 22:19:05 -06:00
1 parent 1c5e525db1
commit b6cc96ad68
1 file changed
+7
+7
View File
@@ -5402,6 +5402,13 @@ void G_ConsAllGhostTics(void)
G_ConsGhostTic(p);
p = READUINT8(demo_p);
}
if (*demo_p == DEMOMARKER)
{
// end of demo data stream
G_CheckDemoStatus();
return;
}
}
// Uses ghost data to do consistency checks on your position.