1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 12:06:07 +08:00

Fix or workaround some tier1 compilation errors

This commit is contained in:
Nick Hastings
2024-05-14 10:04:46 -04:00
parent c3e11ddeae
commit 0f4322ea95
4 changed files with 14 additions and 6 deletions

View File

@ -867,7 +867,9 @@ int old_bf_read::ReadSBitLong( int numbits )
}
const byte g_BitMask[8] = {0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80};
#if FAST_BIT_SCAN
const byte g_TrailingMask[8] = {0xff, 0xfe, 0xfc, 0xf8, 0xf0, 0xe0, 0xc0, 0x80};
#endif
inline int old_bf_read::CountRunOfZeros()
{