X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems%2Fall.qh;h=3ae473503db46e24d8f8877a2fb05cd998142082;hb=bf078048717d708ea88d839f80e30bdc7907d600;hp=14c5a347ad26f534158fb635fc5a8ccbb9eb0cdf;hpb=6c3362162e191402de680067e86ced4331550117;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items/all.qh b/qcsrc/common/items/all.qh index 14c5a347a..3ae473503 100644 --- a/qcsrc/common/items/all.qh +++ b/qcsrc/common/items/all.qh @@ -4,7 +4,8 @@ #include "item.qh" -REGISTRY(Items, BITS(7)) +// 24 so it matches the limit for the .items field +REGISTRY(Items, 24) #define Items_from(i) _Items_from(i, NULL) #ifdef GAMEQC REGISTRY_DEPENDS(Items, Models) @@ -18,7 +19,7 @@ STATIC_INIT(Items) { FOREACH(Items, true, it.m_id = i); } void Dump_Items(); -GENERIC_COMMAND(dumpitems, "Dump all items to the console") { +GENERIC_COMMAND(dumpitems, "Dump all items to the console", false) { switch (request) { case CMD_REQUEST_COMMAND: { Dump_Items(); @@ -26,7 +27,7 @@ GENERIC_COMMAND(dumpitems, "Dump all items to the console") { } default: case CMD_REQUEST_USAGE: { - LOG_INFOF("\nUsage:^3 %s dumpitems", GetProgramCommandPrefix()); + LOG_INFOF("Usage:^3 %s dumpitems", GetProgramCommandPrefix()); return; } }