mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-03 14:42:53 +00:00
G_SaveGameData: Fix an issue where if you somehow saved a skin with no wins as the most recent skin on GP, it'd be assigned to the first skin with any wins on your gamedata on the next load, instead of the correct question mark.
This commit is contained in:
parent
b195d43577
commit
117a45422a
1 changed files with 3 additions and 0 deletions
|
|
@ -5530,7 +5530,10 @@ void G_SaveGameData(void)
|
|||
for (i = 0; i < numskins; i++)
|
||||
{
|
||||
if (skins[i].records.wins == 0)
|
||||
{
|
||||
skins[i].records._saveid = UINT32_MAX;
|
||||
continue;
|
||||
}
|
||||
|
||||
WRITESTRINGN(save.p, skins[i].name, SKINNAMESIZE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue