]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/all.qh
Item stats: implement the item filter as a whitelist; also add a note as to why we...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qh
index 7134a9947b674aa1d2b6573ba598d9bfd969bef7..bb2e387fb9cd7df3dad696d3401f06ea77e7aadb 100644 (file)
@@ -13,6 +13,8 @@ REGISTER_REGISTRY(Items)
 #define REGISTER_ITEM(id, class) REGISTER(Items, ITEM, id, m_id, NEW(class))
 
 #ifdef CSQC
+// Copy Items registry here before it gets sorted alphabetically by REGISTRY_SORT
+// so we can keep items sorted by categories (as they appear in the code)
 IntrusiveList default_order_items;
 STATIC_INIT(default_order_items)
 {