From: Samual Date: Mon, 14 Mar 2011 23:02:08 +0000 (-0400) Subject: Small fix in view.qc X-Git-Tag: xonotic-v0.5.0~309^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c0529334a46b592546091bbab5f184e6ef1ced06;p=xonotic%2Fxonotic-data.pk3dir.git Small fix in view.qc --- diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index edfdb1429..e1505c120 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -1067,7 +1067,7 @@ void CSQC_UpdateView(float w, float h) wcross_size = drawgetimagesize(wcross_name) * wcross_scale; // crosshair rings for weapon stats - if (autocvar_crosshair_ring) + if ((autocvar_crosshair_ring) || (autocvar_crosshair_ring_reload)) { // declarations and stats float ring_value, ring_scale, ring_alpha, ring_inner_value, ring_inner_alpha; @@ -1126,7 +1126,7 @@ void CSQC_UpdateView(float w, float h) // Note: This is to stop Taoki from complaining that the image doesn't match all potential balances. // if a new image for another weapon is added, add the code (and its respective file/value) here - if ((activeweapon == WEP_SNIPERRIFLE) && (weapon_clipsize == 8)) + if ((activeweapon == WEP_SNIPERRIFLE) && (weapon_clipsize == 80)) ring_image = "gfx/crosshair_ring_sniperrifle.tga"; else ring_image = "gfx/crosshair_ring.tga";