]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/miscfunctions.qc
Fix compile.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / miscfunctions.qc
index 1abf39e4fdc493d228faac919d18efdeeda0e602..4b00f1290856bff5ce90a15a243cb41b0700fafc 100644 (file)
@@ -603,20 +603,6 @@ float getplayeralpha(float pl)
        return 1;
 }
 
-vector getcsqcplayercolor(float pl)
-{
-       entity e;
-
-       e = CSQCModel_server2csqc(pl);
-       if(e)
-       {
-               if(e.colormap > 0)
-                       return colormapPaletteColor(((e.colormap >= 1024) ? e.colormap : stof(getplayerkeyvalue(e.colormap - 1, "colors"))) & 0x0F, TRUE);
-       }
-
-       return '1 1 1';
-}
-
 float getplayerisdead(float pl)
 {
        entity e;