Fix replays crashing upon completion

This commit is contained in:
fickleheart 2019-02-16 22:19:05 -06:00
parent 1c5e525db1
commit b6cc96ad68

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.