mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix crashing at the end of netreplays
This commit is contained in:
parent
4116c11152
commit
f1048d2b5a
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…
Add table
Reference in a new issue