mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
update score status constants (#674)
* cdll_dll.h: add `SCORE_STATUS_NONE` constant * player.cpp: SetScoreAttrib: add `SCORE_STATUS_NONE` constant related to https://github.com/s1lentq/reapi/pull/214
This commit is contained in:
parent
112326aa63
commit
2ac5bdee15
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user