]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/teams.qh
fix typo in mapinfo generation
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / teams.qh
index c1ef62d95079a669b82ac7b54a388ca3ed8743bf..cde71c7b3cfdcf8a428d1221170d66d99dda5d77 100644 (file)
@@ -63,17 +63,10 @@ vector Team_ColorRGB(float teamid)
 {
        switch(teamid)
        {
-               #ifdef TEAMNUMBERS_THAT_ARENT_STUPID
-               case NUM_TEAM_1: return '1 0 0'; // red
-               case NUM_TEAM_2: return '0 0 1'; // blue
-               case NUM_TEAM_3: return '1 1 0'; // yellow
-               case NUM_TEAM_4: return '1 0 1'; // pink
-               #else
-               case NUM_TEAM_1: return '1 0.0625 0.0625';
-               case NUM_TEAM_2: return '0.0625 0.0625 1';
-               case NUM_TEAM_3: return '1 1 0.0625';
-               case NUM_TEAM_4: return '1 0.0625 1';
-               #endif
+               case NUM_TEAM_1: return '1 0.0625 0.0625'; // 0xFF0F0F
+               case NUM_TEAM_2: return '0.0625 0.0625 1'; // 0x0F0FFF
+               case NUM_TEAM_3: return '1 1 0.0625'; // 0xFFFF0F
+               case NUM_TEAM_4: return '1 0.0625 1'; // 0xFF0FFF
        }
 
     return '0 0 0';