From: Mario Date: Thu, 13 Jun 2013 09:05:18 +0000 (+1000) Subject: Remove hook mutator block flags (hook is allowed in rifle arena now) X-Git-Tag: xonotic-v0.8.0~366^2~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f9d702ed97e9a68d5a665758a8f1666e457a26bd;p=xonotic%2Fxonotic-data.pk3dir.git Remove hook mutator block flags (hook is allowed in rifle arena now) --- diff --git a/qcsrc/server/mutators/mutator_riflearena.qc b/qcsrc/server/mutators/mutator_riflearena.qc index 7c8a0c607..64194335c 100644 --- a/qcsrc/server/mutators/mutator_riflearena.qc +++ b/qcsrc/server/mutators/mutator_riflearena.qc @@ -99,15 +99,7 @@ MUTATOR_DEFINITION(mutator_riflearena) weapon_action(WEP_LASER, WR_PRECACHE); weapon_action(WEP_RIFLE, WR_PRECACHE); - - get_weaponinfo(WEP_HOOK).spawnflags |= WEP_FLAG_MUTATORBLOCKED; } - - MUTATOR_ONROLLBACK_OR_REMOVE - { - get_weaponinfo(WEP_HOOK).spawnflags &~= WEP_FLAG_MUTATORBLOCKED; - } - MUTATOR_ONREMOVE { print("This cannot be removed at runtime\n");