X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fitem%2Fammo.qc;h=739d94aca1e8b3fb9954ce8a278570f96c6363cf;hp=3a13a1f81855c51c2eaeea4bea5adda6e10c07b3;hb=139a594d29f65508e5d6001e90d4ee4fad82ca66;hpb=60b0e81cdaed847a7aac9d234f219937ab9462b2 diff --git a/qcsrc/common/items/item/ammo.qc b/qcsrc/common/items/item/ammo.qc index 3a13a1f81..739d94aca 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))