mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Read splits in G_DoPlayDemoEx (crash fix)
This commit is contained in:
parent
5703fb2a0b
commit
848c3d4f7a
1 changed files with 4 additions and 0 deletions
|
|
@ -3161,6 +3161,10 @@ void G_DoPlayDemoEx(const char *defdemoname, lumpnum_t deflumpnum)
|
|||
|
||||
demobuf.p += 4; // Extrainfo location
|
||||
demobuf.p += 4; // Attack start
|
||||
for (i = 0; i < MAXSPLITS; i++)
|
||||
{
|
||||
demobuf.p += 4; // Splits
|
||||
}
|
||||
|
||||
// ...*map* not loaded?
|
||||
if (!gamemap || (gamemap > nummapheaders) || !mapheaderinfo[gamemap-1] || mapheaderinfo[gamemap-1]->lumpnum == LUMPERROR)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue