diff --git a/source/blood/src/common_game.h b/source/blood/src/common_game.h index 384f33a26..b6608d274 100644 --- a/source/blood/src/common_game.h +++ b/source/blood/src/common_game.h @@ -514,21 +514,21 @@ inline int QRandom2(int a1) template inline void SetBitString(T *pArray, int nIndex) { - static_assert(sizeof(T) == 1); + static_assert(sizeof(T) == 1, ""); pArray[nIndex>>3] |= 1<<(nIndex&7); } template inline void ClearBitString(T *pArray, int nIndex) { - static_assert(sizeof(T) == 1); + static_assert(sizeof(T) == 1, ""); pArray[nIndex >> 3] &= ~(1 << (nIndex & 7)); } template inline char TestBitString(T *pArray, int nIndex) { - static_assert(sizeof(T) == 1); + static_assert(sizeof(T) == 1, ""); return pArray[nIndex>>3] & (1<<(nIndex&7)); }