From cc80439f0427f96ce65dbc8c2175853dd9d48aa3 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 13 Jan 2005 06:00:45 +0000 Subject: [PATCH] no longer kicks off client if it got signon 1 twice during a reconnect (not sure why this happens occasionally though) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4915 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cl_parse.c b/cl_parse.c index 262b0863..9989bc3c 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -1607,7 +1607,9 @@ void CL_ParseServerMessage(void) case svc_signonnum: i = MSG_ReadByte (); - if (i <= cls.signon) + // LordHavoc: it's rude to kick off the client if they missed the + // reconnect somehow, so allow signon 1 even if at signon 1 + if (i <= cls.signon && i != 1) Host_Error ("Received signon %i when at %i", i, cls.signon); cls.signon = i; CL_SignonReply (); -- 2.39.2