Strip _color from crosshair*_color_alpha cvars
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / crosshairbutton.c
index 058bfd7eb16638eb4722631ce48d2f022685050d..645b9320750fcedced0f2c6b7f0ec5947a7af888 100644 (file)
@@ -66,7 +66,7 @@ void XonoticCrosshairButton_draw(entity me)
        float a;
 
        rgb = eX * cvar("crosshair_color_red") + eY * cvar("crosshair_color_green") + eZ * cvar("crosshair_color_blue");
-       a = cvar("crosshair_color_alpha");
+       a = cvar("crosshair_alpha");
 
        if(!me.checked && !me.focused)
        {