From: terencehill Date: Thu, 25 Jul 2019 07:22:37 +0000 (+0200) Subject: Reduce the item registry capacity to 24 so it matches the limit for the .items field... X-Git-Tag: xonotic-v0.8.5~1353^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8da518254d6aa14a95a132175bd4331a945cc876;p=xonotic%2Fxonotic-data.pk3dir.git 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 --- 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)