]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
patch from div0 to fix issues with libcurl on old nexuiz servers
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 26 Mar 2007 02:04:42 +0000 (02:04 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 26 Mar 2007 02:04:42 +0000 (02:04 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7005 d7cf8633-e32d-0410-b094-e92efae38249

libcurl.c

index 4061f5516732e1e430ef9943b25c3a16cfea5e23..616e8945ef8861bc2558f873879cb0bd1edc9e6d 100644 (file)
--- a/libcurl.c
+++ b/libcurl.c
@@ -1030,7 +1030,7 @@ void Curl_Curl_f(void)
                                char donecommand[256];
                                if(cls.netcon)
                                {
-                                       if(cls.signon >= 3)
+                                       if(cls.loadbegun) // curling won't inhibit loading the map any more when at this stage, so bail out and force a reconnect
                                        {
                                                dpsnprintf(donecommand, sizeof(donecommand), "connect %s", cls.netcon->address);
                                                Curl_CommandWhenDone(donecommand);