diff --git a/regamedll/dlls/cdll_dll.h b/regamedll/dlls/cdll_dll.h index 6b4dbf9b..da6cd36d 100644 --- a/regamedll/dlls/cdll_dll.h +++ b/regamedll/dlls/cdll_dll.h @@ -60,6 +60,7 @@ const int DEFAULT_FOV = 90; // the default field of view #define ITEM_STATUS_NIGHTVISION BIT(0) #define ITEM_STATUS_DEFUSER BIT(1) +#define SCORE_STATUS_NONE 0 #define SCORE_STATUS_DEAD BIT(0) #define SCORE_STATUS_BOMB BIT(1) #define SCORE_STATUS_VIP BIT(2) diff --git a/regamedll/dlls/player.cpp b/regamedll/dlls/player.cpp index f73d3ec7..c4854505 100644 --- a/regamedll/dlls/player.cpp +++ b/regamedll/dlls/player.cpp @@ -5342,7 +5342,7 @@ ReturnSpot: void CBasePlayer::SetScoreAttrib(CBasePlayer *dest) { - int state = 0; + int state = SCORE_STATUS_NONE; if (pev->deadflag != DEAD_NO) state |= SCORE_STATUS_DEAD;