From 593502fda4439d27a13f14720c081c63cd232558 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 31 Aug 2019 03:31:04 +1000 Subject: [PATCH] Don't replace bullets with shells when sv_q3acompat_machineshotgunswap is enabled --- qcsrc/common/items/item/ammo.qc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/qcsrc/common/items/item/ammo.qc b/qcsrc/common/items/item/ammo.qc index 3a13a1f818..739d94aca1 100644 --- a/qcsrc/common/items/item/ammo.qc +++ b/qcsrc/common/items/item/ammo.qc @@ -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)) -- 2.39.2