From d808ef4ee4e6cc2f5afc29b7d8d34ffaa45a46b4 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Thu, 20 Sep 2018 15:33:47 +0300 Subject: [PATCH] Supposedly fix OKShotgun refire. --- qcsrc/common/mutators/mutator/overkill/okshotgun.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/mutators/mutator/overkill/okshotgun.qc b/qcsrc/common/mutators/mutator/overkill/okshotgun.qc index 2f1651776..d8c79e3f2 100644 --- a/qcsrc/common/mutators/mutator/overkill/okshotgun.qc +++ b/qcsrc/common/mutators/mutator/overkill/okshotgun.qc @@ -45,7 +45,7 @@ METHOD(OverkillShotgun, wr_think, void(entity thiswep, entity actor, .entity wea } if (fire & 1) // Primary attack { - if (!weapon_prepareattack(thiswep, actor, weaponentity, false, WEP_CVAR_PRI(okshotgun, animtime))) + if (!weapon_prepareattack(thiswep, actor, weaponentity, false, WEP_CVAR_PRI(okshotgun, refire))) { return; } -- 2.39.2