From 5e504bae6cfc01a24dd6dc2e673a35d80c8a1759 Mon Sep 17 00:00:00 2001 From: TimePath Date: Tue, 13 Oct 2015 18:52:58 +1100 Subject: [PATCH] Nades: don't forget to think Closes #1571 --- qcsrc/server/mutators/mutator_nades.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/mutators/mutator_nades.qc b/qcsrc/server/mutators/mutator_nades.qc index f665fbc13..1b4b7ddc5 100644 --- a/qcsrc/server/mutators/mutator_nades.qc +++ b/qcsrc/server/mutators/mutator_nades.qc @@ -964,7 +964,7 @@ MUTATOR_HOOKFUNCTION(nades_PlayerPreThink) {SELFPARAM(); if (!IS_PLAYER(self)) { return false; } - if (self.nade && self.offhand != OFFHAND_NADE) OFFHAND_NADE.offhand_think(OFFHAND_NADE, self, self.nade_altbutton); + if (self.nade && (self.offhand != OFFHAND_NADE || (self.weapons & WEPSET(HOOK)))) OFFHAND_NADE.offhand_think(OFFHAND_NADE, self, self.nade_altbutton); if(IS_PLAYER(self)) { -- 2.39.2