From d5fc96764153d2a4fb0b3e9bdff731a032ced9f6 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Fri, 21 Jan 2011 18:09:13 +0200 Subject: [PATCH] Ouch... forgot a fixed cvar --- qcsrc/server/cl_weaponsystem.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/cl_weaponsystem.qc b/qcsrc/server/cl_weaponsystem.qc index 84830d437..1babd2108 100644 --- a/qcsrc/server/cl_weaponsystem.qc +++ b/qcsrc/server/cl_weaponsystem.qc @@ -1640,7 +1640,9 @@ float W_ReloadCheck(float ammo_amount) return 0; } - if (self.ammo_counter >= autocvar_g_balance_shotgun_reload_ammo) + entity e; + e = get_weaponinfo(self.weapon); + if (self.ammo_counter >= cvar(strcat("g_balance_", e.netname, "_reload_ammo"))) return 0; if (self.weaponentity) -- 2.39.2