From 9a4c07db27c5da1f5dfd2b4c23e74e9fcc2faf3b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 14 Oct 2019 22:42:29 +0200 Subject: [PATCH] - make it compile again. --- source/blood/src/common_game.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)); }