From eda6ef899f0528b7c8becca44cec58057feaaeac Mon Sep 17 00:00:00 2001 From: c0d3d3v Date: Thu, 3 Mar 2022 15:25:00 +0100 Subject: [PATCH] SV_TEAM enum was labeled --- src/game/teamscore.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/game/teamscore.h b/src/game/teamscore.h index e54570445..f99eaf533 100644 --- a/src/game/teamscore.h +++ b/src/game/teamscore.h @@ -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