Hook: don't give weapon when offhand is active
authorTimePath <andrew.hardaker1995@gmail.com>
Tue, 6 Oct 2015 00:07:24 +0000 (11:07 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Tue, 6 Oct 2015 00:07:24 +0000 (11:07 +1100)
qcsrc/server/miscfunctions.qc

index 910f33b..37df8fa 100644 (file)
@@ -501,8 +501,6 @@ float want_weapon(entity weaponinfo, float allguns) // WEAPONTODO: what still ne
        else
                d = !(!weaponinfo.weaponstart);
 
-       if(g_grappling_hook) // if possible, redirect off-hand hook to on-hand hook
-               d |= (i == WEP_HOOK.m_id);
        if(!g_cts && (weaponinfo.spawnflags & WEP_FLAG_MUTATORBLOCKED)) // never default mutator blocked guns
                d = 0;