code cleanup

This commit is contained in:
Crow-bar
2022-04-03 18:00:12 +03:00
parent 64020b2902
commit cd37d866c2
31 changed files with 172 additions and 128 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ void MSG_Clear( sizebuf_t *sb )
sb->bOverflow = false;
}
#if !XASH_PSP
#if XASH_EXT_OPT != 2
static qboolean MSG_Overflow( sizebuf_t *sb, int nBits )
{
if( sb->iCurBit + nBits > sb->nDataBits )
@@ -136,7 +136,7 @@ void MSG_SeekToByte( sizebuf_t *sb, int bytePos )
{
sb->iCurBit = bytePos << 3;
}
#if !XASH_PSP
#if XASH_EXT_OPT != 2
void MSG_WriteOneBit( sizebuf_t *sb, int nValue )
{
if( !MSG_Overflow( sb, 1 ))