Don't replace bullets with shells when sv_q3acompat_machineshotgunswap is enabled
authorMario <mario@smbclan.net>
Fri, 30 Aug 2019 17:31:04 +0000 (03:31 +1000)
committerMario <mario@smbclan.net>
Fri, 30 Aug 2019 17:31:04 +0000 (03:31 +1000)
qcsrc/common/items/item/ammo.qc

index 3a13a1f..739d94a 100644 (file)
@@ -2,15 +2,6 @@
 
 #ifdef SVQC
 
-METHOD(Bullets, m_spawnfunc_hookreplace, GameItem(Bullets this, entity e))
-{
-       if (autocvar_sv_q3acompat_machineshotgunswap && !Item_IsLoot(e))
-       {
-               return ITEM_Shells;
-       }
-       return this;
-}
-
 METHOD(Shells, m_spawnfunc_hookreplace, GameItem(Shells this, entity e))
 {
        if (autocvar_sv_q3acompat_machineshotgunswap && !Item_IsLoot(e))