mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
SV_TEAM enum was labeled
This commit is contained in:
parent
ff085a4545
commit
eda6ef899f
|
@ -12,12 +12,13 @@ enum
|
|||
VANILLA_TEAM_SUPER = VANILLA_MAX_CLIENTS
|
||||
};
|
||||
|
||||
// do not change the values of the following enum
|
||||
enum
|
||||
{
|
||||
SV_TEAM_FORBIDDEN,
|
||||
SV_TEAM_ALLOWED,
|
||||
SV_TEAM_MANDATORY,
|
||||
SV_TEAM_FORCED_SOLO
|
||||
SV_TEAM_FORBIDDEN = 0, // teams are disabled on the map
|
||||
SV_TEAM_ALLOWED = 1, // teams are enabled on the map, but optional
|
||||
SV_TEAM_MANDATORY = 2, // map must be played with a team
|
||||
SV_TEAM_FORCED_SOLO = 3 // map forces a random team for each individual player
|
||||
};
|
||||
|
||||
class CTeamsCore
|
||||
|
|
Loading…
Reference in a new issue