]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Supposedly fix OKShotgun refire. 595/head
authorLyberta <lyberta@lyberta.net>
Thu, 20 Sep 2018 12:33:47 +0000 (15:33 +0300)
committerLyberta <lyberta@lyberta.net>
Thu, 20 Sep 2018 12:33:47 +0000 (15:33 +0300)
qcsrc/common/mutators/mutator/overkill/okshotgun.qc

index 2f1651776fdab25a67b98a42b0f9e386b44805ea..d8c79e3f2e1e20fae5f4048ca6d35e3b58b0b696 100644 (file)
@@ -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;
                }