]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/all.qh
Merge branch 'master' into terencehill/freezetag_updates
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qh
index 7134a9947b674aa1d2b6573ba598d9bfd969bef7..3d3d62e4631c40e0b4516b25fe9de71e95c84427 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)
 {
@@ -39,7 +41,7 @@ GENERIC_COMMAND(dumpitems, "Dump all items to the console", false) {
         }
         default:
         case CMD_REQUEST_USAGE: {
-            LOG_HELPF("Usage:^3 %s dumpitems", GetProgramCommandPrefix());
+            LOG_HELP("Usage:^3 ", GetProgramCommandPrefix(), " dumpitems");
             return;
         }
     }