From: terencehill Date: Sun, 25 Sep 2016 13:02:17 +0000 (+0200) Subject: Remove PlayerRegen mutator hook call from overkill code, there's no real reason for... X-Git-Tag: xonotic-v0.8.2~553^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ed244f16380119166c3a19e5258abc35f3bfccee;p=xonotic%2Fxonotic-data.pk3dir.git Remove PlayerRegen mutator hook call from overkill code, there's no real reason for blocking limit_mod and max_mod --- diff --git a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc index df19a665d..c29814eb1 100644 --- a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc +++ b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc @@ -168,11 +168,6 @@ MUTATOR_HOOKFUNCTION(ok, MonsterDropItem) ok_DropItem(mon, frag_attacker); } -MUTATOR_HOOKFUNCTION(ok, PlayerRegen) -{ - M_ARGV(4, float) = M_ARGV(1, float) = 1; // limit_mod = max_mod -} - MUTATOR_HOOKFUNCTION(ok, ForbidThrowCurrentWeapon) { return true;