r2027 - branches/nexuiz-2.0/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Dec 9 09:03:20 EST 2006


Author: esteel
Date: 2006-12-09 09:03:20 -0500 (Sat, 09 Dec 2006)
New Revision: 2027

Modified:
   branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc
Log:
Use Team_ColorCode like in trunk


Modified: branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc
===================================================================
--- branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc	2006-12-09 13:37:51 UTC (rev 2026)
+++ branches/nexuiz-2.0/data/qcsrc/server/clientcommands.qc	2006-12-09 14:03:20 UTC (rev 2027)
@@ -12,16 +12,7 @@
 	if(msgin == "")
 		return;
 
-	if(source.team == COLOR_TEAM1)
-		colorstr = "^1";
-	else if(source.team == COLOR_TEAM2)
-		colorstr = "^4";
-	else if(source.team == COLOR_TEAM3)
-		colorstr = "^6";
-	else if(source.team == COLOR_TEAM4)
-		colorstr = "^3";
-	else
-		colorstr = "^7";
+	colorstr = Team_ColorCode(source.team);
 
 	if(!teams_matter)
 		teamsay = FALSE;




More information about the nexuiz-commits mailing list