]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/selection.qc
Convert 5 trivial Item_* functions to macros
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / selection.qc
index d2bb32c6fc27f925343f35617941c5b7f50a4e57..1af0881c3400b7df6758b7e275405769a5c1669e 100644 (file)
@@ -28,7 +28,7 @@ void Weapon_whereis(Weapon this, entity cl)
        if (!autocvar_g_showweaponspawns) return;
        IL_EACH(g_items, it.weapon == this.m_id && (!it.team || (it.ItemStatus & ITS_AVAILABLE)),
        {
-               if (Item_IsLoot(it) && (autocvar_g_showweaponspawns < 2))
+               if (ITEM_IS_LOOT(it) && (autocvar_g_showweaponspawns < 2))
                {
                        continue;
                }