mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-20 06:53:00 +00:00
G_UpdateTimeStickerMedals: Use a memset to initialise the struct, rather than relying on manual pick-outs
This commit is contained in:
parent
4522ba3b4d
commit
9c95d2d975
1 changed files with 1 additions and 4 deletions
|
|
@ -497,11 +497,8 @@ void G_UpdateTimeStickerMedals(UINT16 map)
|
|||
emblem_t *emblem = M_GetLevelEmblems(map+1);
|
||||
boolean gonnadrawtime = false;
|
||||
|
||||
stickermedalinfo.visiblecount = 0;
|
||||
stickermedalinfo.targettext[0] = '\0';
|
||||
stickermedalinfo.emblems[0] = stickermedalinfo.regenemblem = NULL;
|
||||
memset(&stickermedalinfo, 0, sizeof(stickermedalinfo));
|
||||
stickermedalinfo.timetoreach = UINT32_MAX;
|
||||
stickermedalinfo.canplaysound = true;
|
||||
|
||||
while (emblem != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue