]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
zone: Do a straight malloc on non-Windows
[xonotic/darkplaces.git] / cl_parse.c
index 4fc4a9768284ce732dd7ec3196c77601dd8d8307..7e228eea772df580d9f4e8adf77802635a05b3f5 100644 (file)
@@ -3529,11 +3529,8 @@ void CL_ParseServerMessage(void)
                                if (cls.demonum != -1)
                                        CL_NextDemo();
                                else
-                               {
-                                       Con_Printf("Server disconnected\n");
                                        CL_Disconnect();
-                               }
-                               return;
+                               break;
 
                        case qw_svc_print:
                                i = MSG_ReadByte(&cl_message);
@@ -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: