mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 00:41:16 +00:00
Do not leave uninitialised memory for dummywindata best_placement emerald collection
This commit is contained in:
parent
989070c3f1
commit
956b3f985f
1 changed files with 1 additions and 2 deletions
|
|
@ -5118,8 +5118,7 @@ void G_LoadGameData(void)
|
|||
|
||||
dummywindata[j].best_placement = (rtemp & 0x0F);
|
||||
dummywindata[j].best_grade = (rtemp & 0x70)>>4;
|
||||
if (rtemp & 0x80)
|
||||
dummywindata[j].got_emerald = true;
|
||||
dummywindata[j].got_emerald = !!(rtemp & 0x80);
|
||||
|
||||
dummywindata[j].best_skin.id = MAXSKINS;
|
||||
dummywindata[j].best_skin.unloaded = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue