mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-08 04:06:25 +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 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);
|
||||
|
||||
// A 160x100 image of the level as entry MAPxxP
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue