From 232d8ef9a0669f18f51b11c5241c85d3401b5e93 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Thu, 3 Mar 2011 00:29:47 +0200 Subject: [PATCH] Use some more direct values with the new system --- qcsrc/client/View.qc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index c911e1577..40c3b957a 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -1087,11 +1087,8 @@ void CSQC_UpdateView(float w, float h) if (weapon_clipload) // ring around crosshair representing ammo left in weapon clip { weapon_clipsize = getstati(STAT_WEAPON_CLIPSIZE); - f = bound(0, weapon_clipload / weapon_clipsize, 1); - a = autocvar_crosshair_ring_sniperrifle_alpha; - - ring_value = f; - ring_alpha = a; + ring_value = bound(0, weapon_clipload / weapon_clipsize, 1); + ring_alpha = autocvar_crosshair_ring_sniperrifle_alpha; ring_image = "gfx/crosshair_ring.tga"; ring_rgb = wcross_color; } -- 2.39.2