Merge branch 'mp-menu-playername-fix' into 'master'

Multiplayer menu playername fix

See merge request STJr/SRB2!256
This commit is contained in:
Monster Iestyn 2018-06-27 10:01:39 -04:00
commit 03e2a2b445
1 changed files with 1 additions and 1 deletions

View File

@ -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;