0bot: allow bots to check breakable team (fix #693)

This commit is contained in:
jeefo 2025-06-19 00:21:34 +03:00
commit 1394d08a28
No known key found for this signature in database
GPG key ID: D696786B81B667C8
3 changed files with 21 additions and 2 deletions

View file

@ -114,7 +114,7 @@ CR_DECLARE_SCOPED_ENUM (CollisionState,
StrafeRight
)
// counter-strike team id's
// counter-strike team id's (internal for bot)
CR_DECLARE_SCOPED_ENUM (Team,
Terrorist = 0,
CT,
@ -123,6 +123,14 @@ CR_DECLARE_SCOPED_ENUM (Team,
Invalid = -1
)
// counter-strike team id's (used by gamedll, for reference)
CR_DECLARE_SCOPED_ENUM (CSTeam,
Unassigned = 0,
Terrorist,
CT,
Spectator
)
// item status for StatusIcon message
CR_DECLARE_SCOPED_ENUM (ItemStatus,
Nightvision = cr::bit (0),