]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
cl_parse: break on qw_svc_disconnect instead of return, consistent with regular svc_d...
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 May 2021 16:23:09 +0000 (16:23 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 14 May 2021 16:23:09 +0000 (16:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13138 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index 4fc4a9768284ce732dd7ec3196c77601dd8d8307..b8ff71f9bbd7a12b5b96c2ef1b357edc2d7d4af5 100644 (file)
@@ -3533,7 +3533,7 @@ void CL_ParseServerMessage(void)
                                        Con_Printf("Server disconnected\n");
                                        CL_Disconnect();
                                }
-                               return;
+                               break;
 
                        case qw_svc_print:
                                i = MSG_ReadByte(&cl_message);