engine: net_buffer: remove unused MSG_SeekToByte

This commit is contained in:
Alibek Omarov 2024-01-28 20:01:29 +03:00
parent 8c61a2f021
commit c8945caefc

View File

@ -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 ))