Browse Source

engine: net_buffer: remove unused MSG_SeekToByte

master
Alibek Omarov 10 months ago
parent
commit
c8945caefc
  1. 5
      engine/common/net_buffer.c

5
engine/common/net_buffer.c

@ -188,11 +188,6 @@ int MSG_SeekToBit( sizebuf_t *sb, int bitPos, int whence )
return 0; return 0;
} }
static void MSG_SeekToByte( sizebuf_t *sb, int bytePos )
{
sb->iCurBit = bytePos << 3;
}
void MSG_WriteOneBit( sizebuf_t *sb, int nValue ) void MSG_WriteOneBit( sizebuf_t *sb, int nValue )
{ {
if( !MSG_Overflow( sb, 1 )) if( !MSG_Overflow( sb, 1 ))

Loading…
Cancel
Save