mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fix-ghost-read' into 'master'
Fixes crashes in TA when reading ghosts See merge request KartKrew/Kart!2457
This commit is contained in:
commit
42328bc773
1 changed files with 2 additions and 2 deletions
|
|
@ -3703,7 +3703,7 @@ void G_AddGhost(savebuffer_t *buffer, const char *defdemoname)
|
|||
p += 4;
|
||||
|
||||
UINT32 num_classes;
|
||||
if (demo.version <= 0x000D)
|
||||
if (ghostversion <= 0x000D)
|
||||
{
|
||||
num_classes = PROLDDEMO;
|
||||
}
|
||||
|
|
@ -3943,7 +3943,7 @@ staffbrief_t *G_GetStaffGhostBrief(UINT8 *buffer)
|
|||
temp.lap = READUINT32(p);
|
||||
|
||||
UINT32 num_classes;
|
||||
if (demo.version <= 0x000D)
|
||||
if (ghostversion <= 0x000D)
|
||||
{
|
||||
num_classes = PROLDDEMO;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue