]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
another attempt at fixing bugs with downloads caused by the workaround
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 15 Jun 2007 08:09:01 +0000 (08:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 15 Jun 2007 08:09:01 +0000 (08:09 +0000)
that prevents old clients from getting disconnected on map change

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7428 d7cf8633-e32d-0410-b094-e92efae38249

sv_user.c

index 86fca5610a3eacd7f91318d0ce9027c3e2cc89e5..cc76cd3152c2cb47df69218a04ab488322b71f7f 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -758,6 +758,9 @@ void SV_ReadClientMessage(void)
                        break;
 
                case clc_stringcmd:
+                       // allow reliable messages now as the client is done with initial loading
+                       if (host_client->sendsignon == 2)
+                               host_client->sendsignon = 0;
                        s = MSG_ReadString ();
                        q = NULL;
                        for(p = s; *p; ++p) switch(*p)