Don't force specific characters in M_HandleConnectIP
This commit is contained in:
1 parent
cd57ebd763
commit
174a7b5d84
1 file changed
+3
-2
+3
-2
@@ -10580,8 +10580,9 @@ static void M_HandleConnectIP(INT32 choice)
|
||||
|
||||
default:
|
||||
// Rudimentary number and period enforcing - also allows letters so hostnames can be used instead
|
||||
if ((choice >= '-' && choice <= ':') || (choice >= 'A' && choice <= 'Z') || (choice >= 'a' && choice <= 'z')
|
||||
|| (choice >= 199 && choice <= 211 && choice != 202 && choice != 206)) //numpad too!
|
||||
// ctrl-v allows to bypass that anyway, so we just remove that for now to allow stuff like shift+insert
|
||||
/*if ((choice >= '-' && choice <= ':') || (choice >= 'A' && choice <= 'Z') || (choice >= 'a' && choice <= 'z')
|
||||
|| (choice >= 199 && choice <= 211 && choice != 202 && choice != 206))*/ //numpad too!
|
||||
{
|
||||
if (M_TextInputHandle(&setupm_input_ip, choice))
|
||||
S_StartSound(NULL,sfx_menu1); // Tails
|
||||
|
||||
Reference in new issue
Block a user