From c7bb7053f75c6c2778a0a7e026b1849162673ce1 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Fri, 11 Feb 2011 22:20:03 +0200 Subject: [PATCH] Skip melee attack for shotgun while reloading --- qcsrc/server/w_shotgun.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/qcsrc/server/w_shotgun.qc b/qcsrc/server/w_shotgun.qc index 38e7fef8d..788a578b2 100644 --- a/qcsrc/server/w_shotgun.qc +++ b/qcsrc/server/w_shotgun.qc @@ -131,6 +131,7 @@ float w_shotgun(float req) } } } + if (self.clip_load >= 0) // we are not currently reloading if (self.BUTTON_ATCK2 && autocvar_g_balance_shotgun_secondary) if (weapon_prepareattack(1, autocvar_g_balance_shotgun_secondary_refire)) { -- 2.39.2