]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
added two missing CL_SignonReply calls in qw protocol parsing (this
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 Jan 2008 22:23:27 +0000 (22:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 Jan 2008 22:23:27 +0000 (22:23 +0000)
fixes -profilegameonly on QW games)

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

cl_parse.c

index 9a4e3735a1dd1f57d17ce0dfc14014b3fb42b821..90874778dc6b8cfad1ddcbc8fd8c35526fc7d1c8 100644 (file)
@@ -3334,14 +3334,20 @@ void CL_ParseServerMessage(void)
                                EntityFrameQW_CL_ReadFrame(false);
                                // first update is the final signon stage
                                if (cls.signon == SIGNONS - 1)
+                               {
                                        cls.signon = SIGNONS;
+                                       CL_SignonReply ();
+                               }
                                break;
 
                        case qw_svc_deltapacketentities:
                                EntityFrameQW_CL_ReadFrame(true);
                                // first update is the final signon stage
                                if (cls.signon == SIGNONS - 1)
+                               {
                                        cls.signon = SIGNONS;
+                                       CL_SignonReply ();
+                               }
                                break;
 
                        case qw_svc_maxspeed: