Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update score status constants #674

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions regamedll/dlls/cdll_dll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion regamedll/dlls/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5342,7 +5342,7 @@ edict_t *CBasePlayer::EntSelectSpawnPoint()

void CBasePlayer::SetScoreAttrib(CBasePlayer *dest)
{
int state = 0;
int state = SCORE_STATUS_NONE;
if (pev->deadflag != DEAD_NO)
state |= SCORE_STATUS_DEAD;

Expand Down