]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/ammo.qc
Merge branch 'master' into martin-t/mg-solidpen
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / ammo.qc
1 #include "ammo.qh"
2
3 #ifdef SVQC
4
5 METHOD(Shells, m_spawnfunc_hookreplace, GameItem(Shells this, entity e))
6 {
7         if (autocvar_sv_q3acompat_machineshotgunswap && !Item_IsLoot(e))
8         {
9                 return ITEM_Bullets;
10         }
11         return this;
12 }
13
14 #endif