]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.c
added cl_prydoncursor_notrace cvar
[xonotic/darkplaces.git] / sbar.c
diff --git a/sbar.c b/sbar.c
index 47220bf785dc92bc35f7a549dbd14f0b6d553dd3..81c72f8d55cffbae5db10494af1033e47ccbfbbd 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -1748,7 +1748,7 @@ void Sbar_Draw (void)
                DrawQ_Pic((vid_conwidth.integer - pic->width * crosshair_size.value) * 0.5f, (vid_conheight.integer - pic->height * crosshair_size.value) * 0.5f, pic, pic->width * crosshair_size.value, pic->height * crosshair_size.value, crosshair_color_red.value, crosshair_color_green.value, crosshair_color_blue.value, crosshair_color_alpha.value, 0);
        }
 
-       if (cl_prydoncursor.integer)
+       if (cl_prydoncursor.integer > 0)
                DrawQ_Pic((cl.cmd.cursor_screen[0] + 1) * 0.5 * vid_conwidth.integer, (cl.cmd.cursor_screen[1] + 1) * 0.5 * vid_conheight.integer, Draw_CachePic (va("gfx/prydoncursor%03i", cl_prydoncursor.integer)), 0, 0, 1, 1, 1, 1, 0);
 }