mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-28 20:20:43 +00:00
Fix replays crashing upon completion
This commit is contained in:
parent
1c5e525db1
commit
b6cc96ad68
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue