#include "ammo.qh" #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)) { return ITEM_Bullets; } return this; } #endif