From: terencehill Date: Mon, 20 May 2019 18:03:52 +0000 (+0200) Subject: Also remove inventory stuff from menu code X-Git-Tag: xonotic-v0.8.5~1492 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=909702bb74757f554107ce5731adf9f6645016ce;p=xonotic%2Fxonotic-data.pk3dir.git Also remove inventory stuff from menu code --- diff --git a/qcsrc/common/items/inventory.qh b/qcsrc/common/items/inventory.qh index 2ec0cdb7b..75abe46cc 100644 --- a/qcsrc/common/items/inventory.qh +++ b/qcsrc/common/items/inventory.qh @@ -2,6 +2,7 @@ #include "all.qh" +#ifdef GAMEQC CLASS(Inventory, Object) /** Stores counts of items, the id being the index */ ATTRIBARRAY(Inventory, inv_items, int, Items_MAX); @@ -19,6 +20,7 @@ const int Inventory_groups_minor = 8; // ceil(Items_MAX / Inventory_groups_major #define G_MAJOR(id) (floor((id) / Inventory_groups_minor)) #define G_MINOR(id) ((id) % Inventory_groups_minor) +#endif #ifdef CSQC Inventory g_inventory;