X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=sbar.c;h=81c72f8d55cffbae5db10494af1033e47ccbfbbd;hb=d5791b1146a211528caf14f68bbff9f51db532c6;hp=47220bf785dc92bc35f7a549dbd14f0b6d553dd3;hpb=cd9227cae3c1619c304381491597710ec259d0f5;p=xonotic%2Fdarkplaces.git diff --git a/sbar.c b/sbar.c index 47220bf7..81c72f8d 100644 --- 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); }