METHOD(Bullets, m_spawnfunc_hookreplace, GameItem(Bullets this, entity e))
{
- if (autocvar_sv_q3acompat_machineshotgunswap && e.classname != "droppedweapon")
+ if (autocvar_sv_q3acompat_machineshotgunswap && !Item_IsLoot(e))
{
return ITEM_Shells;
}
METHOD(Shells, m_spawnfunc_hookreplace, GameItem(Shells this, entity e))
{
- if (autocvar_sv_q3acompat_machineshotgunswap && e.classname != "droppedweapon")
+ if (autocvar_sv_q3acompat_machineshotgunswap && !Item_IsLoot(e))
{
return ITEM_Bullets;
}