X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_parse.c;h=4f1a07e2ac4bfa606a778918c7daab0e9fff68c0;hb=a723c0ad7d3e05dd2d5d316445f0d79ed983775d;hp=379c6ec6efed807426e4caecdebb026754fb2162;hpb=d79fddea08994064f78b5825a50d578aab756e85;p=xonotic%2Fdarkplaces.git diff --git a/cl_parse.c b/cl_parse.c index 379c6ec6..4f1a07e2 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -3703,9 +3703,7 @@ void CL_ParseServerMessage(void) for (i = 1;i < cl.maxclients;i++) cl.entities_active[i] = false; } -#ifndef SERVERONLY EntityStateQW_ReadPlayerUpdate(); -#endif break; case qw_svc_nails: @@ -3728,9 +3726,7 @@ void CL_ParseServerMessage(void) break; case qw_svc_packetentities: -#ifndef SERVERONLY EntityFrameQW_CL_ReadFrame(false); -#endif // first update is the final signon stage if (cls.signon == SIGNONS - 1) { @@ -3740,9 +3736,7 @@ void CL_ParseServerMessage(void) break; case qw_svc_deltapacketentities: -#ifndef SERVERONLY EntityFrameQW_CL_ReadFrame(true); -#endif // first update is the final signon stage if (cls.signon == SIGNONS - 1) { @@ -3813,9 +3807,7 @@ void CL_ParseServerMessage(void) cls.signon = SIGNONS; CL_SignonReply (); } -#ifndef SERVERONLY EntityFrameQuake_ReadEntity (cmd&127); -#endif continue; } @@ -4216,14 +4208,12 @@ void CL_ParseServerMessage(void) cls.signon = SIGNONS; CL_SignonReply (); } -#ifndef SERVERONLY if (cls.protocol == PROTOCOL_DARKPLACES1 || cls.protocol == PROTOCOL_DARKPLACES2 || cls.protocol == PROTOCOL_DARKPLACES3) EntityFrame_CL_ReadFrame(); else if (cls.protocol == PROTOCOL_DARKPLACES4) EntityFrame4_CL_ReadFrame(); else EntityFrame5_CL_ReadFrame(); -#endif break; case svc_csqcentities: CSQC_ReadEntities(); @@ -4248,9 +4238,8 @@ void CL_ParseServerMessage(void) if (cls.signon == SIGNONS) CL_UpdateItemsAndWeapon(); // R_TimeReport("UpdateItems"); -#ifndef SERVERONLY + EntityFrameQuake_ISeeDeadEntities(); -#endif // R_TimeReport("ISeeDeadEntities"); CL_UpdateMoveVars();