Merge remote-tracking branch 'upstream/master' into responsefile-fix

This commit is contained in:
Steel Titanium 2018-07-05 01:24:51 -04:00
commit 39ebdb86b8

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;