From bb56fe5f488da2f2707876a98cc13db379c6c91b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Amadeusz=20S=C5=82awi=C5=84ski?= Date: Sun, 21 Feb 2016 19:41:42 +0100 Subject: [PATCH] Fix intendation before my eyes fall out --- qcsrc/common/teams.qh | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/qcsrc/common/teams.qh b/qcsrc/common/teams.qh index f75ae1f02f..8e09a58ebf 100644 --- a/qcsrc/common/teams.qh +++ b/qcsrc/common/teams.qh @@ -47,12 +47,12 @@ float myteam; string Team_ColorCode(float teamid) { - switch(teamid) - { + switch(teamid) + { case NUM_TEAM_1: return COL_TEAM_1; - case NUM_TEAM_2: return COL_TEAM_2; - case NUM_TEAM_3: return COL_TEAM_3; - case NUM_TEAM_4: return COL_TEAM_4; + case NUM_TEAM_2: return COL_TEAM_2; + case NUM_TEAM_3: return COL_TEAM_3; + case NUM_TEAM_4: return COL_TEAM_4; } return "^7"; @@ -73,12 +73,12 @@ vector Team_ColorRGB(float teamid) string Team_ColorName(float teamid) { - switch(teamid) - { + switch(teamid) + { case NUM_TEAM_1: return NAME_TEAM_1; - case NUM_TEAM_2: return NAME_TEAM_2; - case NUM_TEAM_3: return NAME_TEAM_3; - case NUM_TEAM_4: return NAME_TEAM_4; + case NUM_TEAM_2: return NAME_TEAM_2; + case NUM_TEAM_3: return NAME_TEAM_3; + case NUM_TEAM_4: return NAME_TEAM_4; } return NAME_NEUTRAL; @@ -87,12 +87,12 @@ string Team_ColorName(float teamid) // used for replacement in filenames or such where the name CANNOT be allowed to be translated string Static_Team_ColorName(float teamid) { - switch(teamid) - { + switch(teamid) + { case NUM_TEAM_1: return STATIC_NAME_TEAM_1; - case NUM_TEAM_2: return STATIC_NAME_TEAM_2; - case NUM_TEAM_3: return STATIC_NAME_TEAM_3; - case NUM_TEAM_4: return STATIC_NAME_TEAM_4; + case NUM_TEAM_2: return STATIC_NAME_TEAM_2; + case NUM_TEAM_3: return STATIC_NAME_TEAM_3; + case NUM_TEAM_4: return STATIC_NAME_TEAM_4; } return NAME_NEUTRAL; @@ -103,10 +103,10 @@ float Team_ColorToTeam(string team_color) switch(strtolower(team_color)) { case "red": return NUM_TEAM_1; - case "blue": return NUM_TEAM_2; - case "yellow": return NUM_TEAM_3; - case "pink": return NUM_TEAM_4; - case "auto": return 0; + case "blue": return NUM_TEAM_2; + case "yellow": return NUM_TEAM_3; + case "pink": return NUM_TEAM_4; + case "auto": return 0; } return -1; -- 2.39.2