]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove hook mutator block flags (hook is allowed in rifle arena now)
authorMario <mario.mario@y7mail.com>
Thu, 13 Jun 2013 09:05:18 +0000 (19:05 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 13 Jun 2013 09:05:18 +0000 (19:05 +1000)
qcsrc/server/mutators/mutator_riflearena.qc

index 7c8a0c60715d094efc4995abeaceb99173e33d9b..64194335c959b7c7a1ad1d4f405f9ca5b276938a 100644 (file)
@@ -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");