From 0c62b090b342bab399152f8673c83c9884c5b8fb Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 9 Jun 2013 14:58:05 +1000 Subject: [PATCH] Add another check to make sure hook complains when it should --- qcsrc/server/cl_weaponsystem.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/cl_weaponsystem.qc b/qcsrc/server/cl_weaponsystem.qc index 3a963d4ba..a98eb6f55 100644 --- a/qcsrc/server/cl_weaponsystem.qc +++ b/qcsrc/server/cl_weaponsystem.qc @@ -668,7 +668,7 @@ float client_hasweapon(entity cl, float wpn, float andammo, float complain) if(complain) self.hasweapon_complain_spam = time + 0.2; - if(wpn == WEP_HOOK && !g_grappling_hook && autocvar_g_nades && !WEPSET_CONTAINS_AW(weaponsInMap, wpn)) + if(wpn == WEP_HOOK && !g_grappling_hook && autocvar_g_nades && !WEPSET_CONTAINS_EW(cl, wpn) && !WEPSET_CONTAINS_AW(weaponsInMap, wpn)) complain = 0; if (wpn < WEP_FIRST || wpn > WEP_LAST) -- 2.39.2