]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_parse: Remove redundant disconnect print
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 May 2021 16:23:35 +0000 (16:23 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 May 2021 16:23:35 +0000 (16:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13139 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index b8ff71f9bbd7a12b5b96c2ef1b357edc2d7d4af5..7e228eea772df580d9f4e8adf77802635a05b3f5 100644 (file)
@@ -3529,10 +3529,7 @@ void CL_ParseServerMessage(void)
                                if (cls.demonum != -1)
                                        CL_NextDemo();
                                else
-                               {
-                                       Con_Printf("Server disconnected\n");
                                        CL_Disconnect();
-                               }
                                break;
 
                        case qw_svc_print:
@@ -3910,12 +3907,9 @@ void CL_ParseServerMessage(void)
 
                        case svc_disconnect:
                                if (cls.demonum != -1)
-                                       CL_NextDemo ();
+                                       CL_NextDemo();
                                else
-                               {
-                                       Con_Printf ("Server disconnected\n");
-                                       CL_Disconnect ();
-                               }
+                                       CL_Disconnect();
                                break;
 
                        case svc_print: