mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-29 13:51:24 +00:00
Fix crashing at the end of netreplays
This commit is contained in:
parent
c6248faa30
commit
49caebd2db
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue