mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2024-11-24 16:39:43 +00:00
client: remove unused bitcounts profiling data
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
c5ebfcdcd9
commit
c2abd3df01
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user