diff --git a/NQ/cl_parse.c b/NQ/cl_parse.c index a67707e..f8f09de 100644 --- a/NQ/cl_parse.c +++ b/NQ/cl_parse.c @@ -371,8 +371,6 @@ If an entities model or origin changes from frame to frame, it must be relinked. Other attributes can change without relinking. ================== */ -// FIXME - is this 16 == MAX_CLIENTS? -int bitcounts[16]; void CL_ParseUpdate(int bits) @@ -407,10 +405,6 @@ CL_ParseUpdate(int bits) ent = CL_EntityNum(num); - for (i = 0; i < 16; i++) - if (bits & (1 << i)) - bitcounts[i]++; - if (ent->msgtime != cl.mtime[1]) forcelink = true; // no previous frame to lerp from else diff --git a/QW/client/cl_ents.c b/QW/client/cl_ents.c index bee557d..96a3088 100644 --- a/QW/client/cl_ents.c +++ b/QW/client/cl_ents.c @@ -161,8 +161,6 @@ CL_ParseDelta Can go from either a baseline or a previous packet_entity ================== */ -int bitcounts[32]; /// just for protocol profiling - static void CL_ParseDelta(entity_state_t *from, entity_state_t *to, int bits) { @@ -178,11 +176,6 @@ CL_ParseDelta(entity_state_t *from, entity_state_t *to, int bits) i = MSG_ReadByte(); bits |= i; } - // count the bits for net profiling - for (i = 0; i < 16; i++) - if (bits & (1 << i)) - bitcounts[i]++; - to->flags = bits; if (bits & U_MODEL)