]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove PlayerRegen mutator hook call from overkill code, there's no real reason for...
authorterencehill <piuntn@gmail.com>
Sun, 25 Sep 2016 13:02:17 +0000 (15:02 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 25 Sep 2016 13:02:17 +0000 (15:02 +0200)
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc

index df19a665d738c5395a184c09b2805d9dbea7e4cf..c29814eb16698c5cc8caf857ef8dfa51cfa7a285 100644 (file)
@@ -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;