]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/items/all.qh
Inventory: expand capacity
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qh
index 73bd502c8fa13a8a1c1a05b3545a099e16dba1a8..dc8cf21c020a6d06993f87281cc1dad98f29cbac 100644 (file)
@@ -1,10 +1,10 @@
 #pragma once
 
-#include <common/command/_all.qh>
+#include <common/command/_mod.qh>
 
 #include "item.qh"
 
-REGISTRY(Items, BITS(5))
+REGISTRY(Items, BITS(7))
 #define Items_from(i) _Items_from(i, NULL)
 REGISTER_REGISTRY(Items)
 #define REGISTER_ITEM(id, class) REGISTER(Items, ITEM, id, m_id, NEW(class))
@@ -29,6 +29,6 @@ GENERIC_COMMAND(dumpitems, "Dump all items to the console") {
     }
 }
 
-#ifndef MENUQC
+#ifdef GAMEQC
 string Item_Model(string item_mdl);
 #endif