summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-05-02 16:03:35 +0000
committerTim Angus <tim@ngus.net>2013-01-09 20:58:11 +0000
commitfbcb343cfbad7418544898d31f404f9960e450b1 (patch)
tree03f4292c38fa0eb07dbe28d3cc7e4b4f678fc1d8
parentbc72770d3e358959117403c04e8883497eaefb8d (diff)
Fix sending reliable commands before being connected, patch by Eugene C. (#4971)
-rw-r--r--src/client/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c
index d357334f..c532e175 100644
--- a/src/client/cl_main.c
+++ b/src/client/cl_main.c
@@ -2842,7 +2842,7 @@ CL_CheckUserinfo
*/
void CL_CheckUserinfo( void ) {
// don't add reliable commands when not yet connected
- if(cls.state < CA_CHALLENGING)
+ if(cls.state < CA_CONNECTED)
return;
// don't overflow the reliable command buffer when paused