]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/default/havocbot/roles.qc
Convert 5 trivial Item_* functions to macros
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / default / havocbot / roles.qc
index 52aff186aef70e133f390c1851f93dc5c613e6f6..020d993bed9fb03f133e630d3a9df5f771d90b6b 100644 (file)
@@ -141,7 +141,7 @@ void havocbot_goalrating_items(entity this, float ratingscale, vector org, float
                        continue;
 
                // Check if the item can be picked up safely
-               if(Item_IsLoot(it))
+               if(ITEM_IS_LOOT(it))
                {
                        if(!IS_ONGROUND(it))
                                continue;