X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fall.qh;h=372e3ff69c1a02dd9f0967ab8a82f69ea84d1eaa;hb=9793c3823e39dcf3ecc73a36a128280e186644d8;hp=c42139e25f6a1b4f4c12cba0e350e8ec2daac506;hpb=fcf4579b494a225ae17c64ccb3acf802c841245c;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/all.qh b/qcsrc/common/items/all.qh index c42139e25..372e3ff69 100644 --- a/qcsrc/common/items/all.qh +++ b/qcsrc/common/items/all.qh @@ -11,13 +11,6 @@ int ITEM_COUNT; #define REGISTER_ITEM(id, class) REGISTER(RegisterItems, ITEM, ITEMS, ITEM_COUNT, id, class, m_id) REGISTER_REGISTRY(RegisterItems) -#define ITEMS_FOREACH(pred, body) do { \ - for (int i = 0; i < ITEM_COUNT; i++) { \ - const noref entity it = ITEMS[i]; \ - if (pred) { body } \ - } \ -} while(0) - void Dump_Items(); #endif