mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fixes crashes in TA when reading ghosts
that use the new RNG classes
This commit is contained in:
parent
e5f740f4a3
commit
61e29b70a6
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