SV_TEAM enum was labeled

This commit is contained in:
c0d3d3v 2022-03-03 15:25:00 +01:00
parent ff085a4545
commit eda6ef899f
No known key found for this signature in database
GPG key ID: 068AF680530DFF31

View file

@ -12,12 +12,13 @@ enum
VANILLA_TEAM_SUPER = VANILLA_MAX_CLIENTS VANILLA_TEAM_SUPER = VANILLA_MAX_CLIENTS
}; };
// do not change the values of the following enum
enum enum
{ {
SV_TEAM_FORBIDDEN, SV_TEAM_FORBIDDEN = 0, // teams are disabled on the map
SV_TEAM_ALLOWED, SV_TEAM_ALLOWED = 1, // teams are enabled on the map, but optional
SV_TEAM_MANDATORY, SV_TEAM_MANDATORY = 2, // map must be played with a team
SV_TEAM_FORCED_SOLO SV_TEAM_FORCED_SOLO = 3 // map forces a random team for each individual player
}; };
class CTeamsCore class CTeamsCore