From 909702bb74757f554107ce5731adf9f6645016ce Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 20 May 2019 20:03:52 +0200 Subject: [PATCH] Also remove inventory stuff from menu code --- qcsrc/common/items/inventory.qh | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2