From: terencehill Date: Sat, 2 May 2015 22:43:31 +0000 (+0200) Subject: Don't color the dot in the crosshair preview X-Git-Tag: xonotic-v0.8.1~55^2~9 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9d1a94f33423600b1538bfc69e3aa1a39d838c32;p=xonotic%2Fxonotic-data.pk3dir.git Don't color the dot in the crosshair preview --- diff --git a/qcsrc/menu/xonotic/crosshairpicker.qc b/qcsrc/menu/xonotic/crosshairpicker.qc index ed937fe42..f79cea51b 100644 --- a/qcsrc/menu/xonotic/crosshairpicker.qc +++ b/qcsrc/menu/xonotic/crosshairpicker.qc @@ -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