]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/reg.qh
Rename t_items.qc to items.qc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / reg.qh
index a6f669fd91e04c461a2710837ae760e070c9523a..abb40b509de08165e613a1eae1f7c6b32c7ef06d 100644 (file)
@@ -2,10 +2,11 @@
 
 #include "command.qh"
 REGISTRY(GENERIC_COMMANDS, BITS(7))
-#define GENERIC_COMMANDS_from(i) _GENERIC_COMMANDS_from(i, NULL)
 REGISTER_REGISTRY(GENERIC_COMMANDS)
 REGISTRY_SORT(GENERIC_COMMANDS)
 
+REGISTRY_DEFINE_GET(GENERIC_COMMANDS, NULL)
+
 .bool m_menubased; // switch to tell whether this alias should be registered as a menu or client based command
 
 #define GENERIC_COMMAND(id, description, menubased) \