Don't color the dot in the crosshair preview
authorterencehill <piuntn@gmail.com>
Sat, 2 May 2015 22:43:31 +0000 (00:43 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 2 May 2015 22:43:31 +0000 (00:43 +0200)
qcsrc/menu/xonotic/crosshairpicker.qc

index ed937fe..f79cea5 100644 (file)
@@ -67,11 +67,6 @@ void XonoticCrosshairPicker_cellDraw(entity me, vector cell, vector cellPos, flo
        draw_Picture(crosshairPos - 0.5 * sz, cross, sz, rgb, me.alpha);
 
        if(cvar("crosshair_dot"))
-       {
-               if(cvar("crosshair_dot_color_custom") && (cvar_string("crosshair_dot_color") != "0"))
-                       rgb = stov(cvar_string("crosshair_dot_color"));
-
                draw_Picture(crosshairPos - 0.5 * sz * cvar("crosshair_dot_size"), "/gfx/crosshairdot", sz * cvar("crosshair_dot_size"), rgb, me.alpha);
-       }
 }
 #endif