]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/item/ammo.qc
Merge branch 'bones_was_here/q3compat' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / ammo.qc
index 38a0a022a92b818defcd6a67456826de4703f82c..48ca0ddab6947f2dd320a96d5644983f4a055ee4 100644 (file)
@@ -1,23 +1,2 @@
 #include "ammo.qh"
 
-#ifdef SVQC
-
-METHOD(Bullets, m_spawnfunc_hookreplace, GameItem(Bullets this, entity e))
-{
-       if (autocvar_sv_q3acompat_machineshotgunswap && e.classname != "droppedweapon")
-       {
-               return ITEM_Shells;
-       }
-       return this;
-}
-
-METHOD(Shells, m_spawnfunc_hookreplace, GameItem(Shells this, entity e))
-{
-       if (autocvar_sv_q3acompat_machineshotgunswap && e.classname != "droppedweapon")
-       {
-               return ITEM_Bullets;
-       }
-       return this;
-}
-
-#endif