mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 12:40:58 +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
96aa11c825
commit
16c107e2ac
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…
Reference in a new issue