X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fteams.qh;h=069904290b7d45361bdb7a1828ead5888bc3bca2;hb=129d2012d3663b7046cdd460f897b88da5933f40;hp=ade219a2459f9125677760a348a8895afc9712a7;hpb=7ed6b5adc348af2a7094c85517e824c04e2005cd;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/teams.qh b/qcsrc/common/teams.qh index ade219a24..069904290 100644 --- a/qcsrc/common/teams.qh +++ b/qcsrc/common/teams.qh @@ -50,7 +50,7 @@ string Team_ColorCode(float teamid) case NUM_TEAM_3: return COL_TEAM_3; case NUM_TEAM_4: return COL_TEAM_4; } - + return "^7"; } @@ -76,7 +76,7 @@ string Team_ColorName(float teamid) case NUM_TEAM_3: return NAME_TEAM_3; case NUM_TEAM_4: return NAME_TEAM_4; } - + return NAME_NEUTRAL; } @@ -90,7 +90,7 @@ string Static_Team_ColorName(float teamid) case NUM_TEAM_3: return STATIC_NAME_TEAM_3; case NUM_TEAM_4: return STATIC_NAME_TEAM_4; } - + return NAME_NEUTRAL; } @@ -104,7 +104,7 @@ float Team_ColorToTeam(string team_color) case "pink": return NUM_TEAM_4; case "auto": return 0; } - + return -1; } @@ -117,7 +117,7 @@ float Team_NumberToTeam(float number) case 3: return NUM_TEAM_3; case 4: return NUM_TEAM_4; } - + return -1; } @@ -130,7 +130,7 @@ float Team_TeamToNumber(float teamid) case NUM_TEAM_3: return 3; case NUM_TEAM_4: return 4; } - + return -1; }