X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cl_parse.c;h=7e228eea772df580d9f4e8adf77802635a05b3f5;hp=39d1bbe4f534605297bea10d54cd769eaca88a23;hb=8d2492ac4364e1a51e7f84c6ea1c34429f060939;hpb=775c0f6d056c37d2e23f9a96ec827023fe5e3404 diff --git a/cl_parse.c b/cl_parse.c index 39d1bbe4..7e228eea 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -3293,7 +3293,7 @@ static void CL_NetworkTimeReceived(double newtime) } else if (cls.protocol != PROTOCOL_QUAKEWORLD) { - double timehigh; + double timehigh = 0; // hush compiler warning cl.mtime[1] = max(cl.mtime[1], cl.mtime[0] - 0.1); if (developer_extra.integer && vid_activewindow) @@ -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: