mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix garbage string being drawn on record attack menu
Pretty silly of me to assume it would be NUL-terminated by default.
This commit is contained in:
parent
ea085a4c5b
commit
0a33e47619
1 changed files with 4 additions and 0 deletions
|
|
@ -8723,6 +8723,10 @@ void M_DrawTimeAttackMenu(void)
|
||||||
char beststr[40];
|
char beststr[40];
|
||||||
char reqscore[40], reqtime[40], reqrings[40];
|
char reqscore[40], reqtime[40], reqrings[40];
|
||||||
|
|
||||||
|
strcpy(reqscore, "\0");
|
||||||
|
strcpy(reqtime, "\0");
|
||||||
|
strcpy(reqrings, "\0");
|
||||||
|
|
||||||
M_DrawLevelPlatterHeader(32-lsheadingheight/2, cv_nextmap.string, true, false);
|
M_DrawLevelPlatterHeader(32-lsheadingheight/2, cv_nextmap.string, true, false);
|
||||||
|
|
||||||
// A 160x100 image of the level as entry MAPxxP
|
// A 160x100 image of the level as entry MAPxxP
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue