summaryrefslogtreecommitdiff
path: root/src/cgame/cg_drawtools.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_drawtools.c')
-rw-r--r--src/cgame/cg_drawtools.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/cgame/cg_drawtools.c b/src/cgame/cg_drawtools.c
index 16e90a11..6cc0b74f 100644
--- a/src/cgame/cg_drawtools.c
+++ b/src/cgame/cg_drawtools.c
@@ -426,31 +426,6 @@ float *CG_FadeColor( int startMsec, int totalMsec ) {
/*
-================
-CG_TeamColor
-================
-*/
-float *CG_TeamColor( int team ) {
- static vec4_t red = {1, 0.2f, 0.2f, 1};
- static vec4_t blue = {0.2f, 0.2f, 1, 1};
- static vec4_t other = {1, 1, 1, 1};
- static vec4_t spectator = {0.7f, 0.7f, 0.7f, 1};
-
- switch ( team ) {
- case TEAM_HUMANS:
- return red;
- case TEAM_ALIENS:
- return blue;
- case TEAM_SPECTATOR:
- return spectator;
- default:
- return other;
- }
-}
-
-
-
-/*
=================
CG_GetColorForHealth
=================