]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/gamemodes/gamemode/nexball/sv_nexball.qc
Convert 5 trivial Item_* functions to macros
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / gamemodes / gamemode / nexball / sv_nexball.qc
index 5fed894b9685e6ae088035b84cf2020c7f6e99cb..c8a82b0c1b4a7e53d121b4d8254481966220330e 100644 (file)
@@ -895,7 +895,7 @@ MUTATOR_HOOKFUNCTION(nb, FilterItem)
 {
        entity item = M_ARGV(0, entity);
 
-       if(Item_IsLoot(item))
+       if(ITEM_IS_LOOT(item))
        if(item.weapon == WEP_NEXBALL.m_id)
                return true;