From 8da518254d6aa14a95a132175bd4331a945cc876 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 25 Jul 2019 09:22:37 +0200 Subject: [PATCH] Reduce the item registry capacity to 24 so it matches the limit for the .items field; it reduces number of fields created by the item inventory (.inv_items array) by 103 --- qcsrc/common/items/all.qh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/items/all.qh b/qcsrc/common/items/all.qh index 623f71b39..3ff4a5415 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) -- 2.39.2