From b1c2a6494a8a243d3d7143d37a6a27a66cc4014b Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 29 Jan 2005 02:14:57 +0000 Subject: [PATCH] bigfoot pointed out this problem without NQPROT on a server git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@858 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/server/sv_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/server/sv_main.c b/engine/server/sv_main.c index 435a12ce1..0aba33a7e 100644 --- a/engine/server/sv_main.c +++ b/engine/server/sv_main.c @@ -1095,7 +1095,9 @@ void SVC_DirectConnect numssclients = 1; if (atoi(Cmd_Argv(0)+7)) { +#ifdef NQPROT if (!socket) +#endif numssclients = atoi(Cmd_Argv(0)+7); if (numssclients<1) { @@ -1259,8 +1261,9 @@ void SVC_DirectConnect nextuserid--; return; } - +#ifdef NQPROT if (!socket) +#endif { Con_Printf ("%s:reconnect\n", NET_AdrToString (adr)); // SV_DropClient (cl);