summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-12-13 20:21:44 +0300
committerAndrei Karas <akaras@inbox.ru>2018-12-14 01:23:00 +0300
commitc34b4fbb432350c3632800b53a143a8f54ab7dbc (patch)
tree570fd3ce739af4cd364fd8880146f25300cfae60 /src/common/mmo.h
parent8e1e7ee7fbf3785d77768ea36e63d4008293b0d0 (diff)
downloadhercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.gz
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.bz2
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.tar.xz
hercules-c34b4fbb432350c3632800b53a143a8f54ab7dbc.zip
Add packt ZC_INVENTORY_EXPANSION_INFO
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 9bcf82cc7..8b6bef431 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -165,7 +165,18 @@
#endif
#define MAX_CARTS (MAX_BASE_CARTS + MAX_CARTDECORATION_CARTS)
+#ifndef MAX_INVENTORY
#define MAX_INVENTORY 100
+#endif
+
+#ifndef FIXED_INVENTORY_SIZE
+#define FIXED_INVENTORY_SIZE 100
+#endif
+
+#if FIXED_INVENTORY_SIZE > MAX_INVENTORY
+#error FIXED_INVENTORY_SIZE must be same or smaller than MAX_INVENTORY
+#endif
+
//Max number of characters per account. Note that changing this setting alone is not enough if the client is not hexed to support more characters as well.
#if PACKETVER >= 20100413
#ifndef MAX_CHARS