mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 17:22:12 +00:00
Merge branch 'master' into password-security-fix
This commit is contained in:
commit
8e3c3a6f65
1 changed files with 1 additions and 1 deletions
|
@ -6543,7 +6543,7 @@ static void M_HandleSetupMultiPlayer(INT32 choice)
|
|||
if (choice < 32 || choice > 127 || itemOn != 0)
|
||||
break;
|
||||
l = strlen(setupm_name);
|
||||
if (l < MAXPLAYERNAME-1)
|
||||
if (l < MAXPLAYERNAME)
|
||||
{
|
||||
S_StartSound(NULL,sfx_menu1); // Tails
|
||||
setupm_name[l] =(char)choice;
|
||||
|
|
Loading…
Reference in a new issue