mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +00:00
fix the multiplayer menu not allowing the full max length for player names unlike the "name" console command
This commit is contained in:
parent
650e0eafce
commit
415c095274
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)
|
if (choice < 32 || choice > 127 || itemOn != 0)
|
||||||
break;
|
break;
|
||||||
l = strlen(setupm_name);
|
l = strlen(setupm_name);
|
||||||
if (l < MAXPLAYERNAME-1)
|
if (l < MAXPLAYERNAME)
|
||||||
{
|
{
|
||||||
S_StartSound(NULL,sfx_menu1); // Tails
|
S_StartSound(NULL,sfx_menu1); // Tails
|
||||||
setupm_name[l] =(char)choice;
|
setupm_name[l] =(char)choice;
|
||||||
|
|
Loading…
Reference in a new issue