mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
Use actual characters instead of ASCII codes as per Sryder's suggestion
This commit is contained in:
parent
fb6570cade
commit
eb29063ef1
1 changed files with 1 additions and 1 deletions
|
@ -7964,7 +7964,7 @@ static void M_HandleConnectIP(INT32 choice)
|
|||
break;
|
||||
|
||||
// Rudimentary number and period enforcing - also allows letters so hostnames can be used instead
|
||||
if ((choice >= 45 && choice <= 58) || (choice >= 65 && choice <= 90) || (choice >= 97 && choice <= 122))
|
||||
if ((choice >= '-' && choice <= ':') || (choice >= 'A' && choice <= 'Z') || (choice >= 'a' && choice <= 'z'))
|
||||
{
|
||||
S_StartSound(NULL,sfx_menu1); // Tails
|
||||
setupm_ip[l] = (char)choice;
|
||||
|
|
Loading…
Reference in a new issue