From 07f901e98573547d03ab2c2f46c4e12cbfd3a410 Mon Sep 17 00:00:00 2001 From: FruitieX Date: Wed, 13 Oct 2010 14:19:19 +0300 Subject: [PATCH] don't increase the speed counter clientside if we're out of ammo --- qcsrc/client/View.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index b4da5c8158..6305be323f 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -838,7 +838,7 @@ void CSQC_UpdateView(float w, float h) else nex_speed = max(nex_minvelocity, nex_speed - nex_speed_falloff_rate * frametime); - if (activeweapon == WEP_NEX && button_attack2 && nex_charge) + if (activeweapon == WEP_NEX && button_attack2 && nex_charge && getstati(GetAmmoStat(3))) nex_speed = min(nex_maxvelocity, nex_speed + nex_charge_rate * frametime); // ring around crosshair representing bullets left in camping rifle clip -- 2.39.2