]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 ed937fe429172c0b0c08bd52e10334f7b22c1e73..f79cea51b4ae73c11cf42b603d009a40338c10e9 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