wcross_name_alpha_goal_prev = f;\r
\r
// ring around crosshair representing bullets left in weapon clip\r
- a = cvar("crosshair_ring_alpha");\r
weapon_clipload = getstati(STAT_WEAPON_CLIPLOAD);\r
+ a = cvar("crosshair_ring_alpha");\r
if (weapon_clipload && a)\r
{\r
- f = bound(0, weapon_clipload / weapon_clipsize, 1);\r
- ring_scale = cvar("crosshair_ring_size");\r
weapon_clipsize = getstati(STAT_WEAPON_CLIPSIZE);\r
+ ring_scale = cvar("crosshair_ring_size");\r
+ f = bound(0, weapon_clipload / weapon_clipsize, 1);\r
DrawCircleClippedPic(wcross_origin, wcross_size_x * ring_scale, "gfx/crosshair_ring.tga", f, wcross_color, wcross_alpha * a, DRAWFLAG_ADDITIVE);\r
}\r
}\r