summaryrefslogtreecommitdiff
path: root/src/common/mmo.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-05-10 17:46:37 +0200
committerHaru <haru@dotalux.com>2014-05-10 17:46:37 +0200
commit65e43c2ab18a446102dea9237cfd4152392d7f33 (patch)
tree907b458ce04d09be8056bb84dc950b9aa02d6a81 /src/common/mmo.h
parent0ab52ac65bdba93be94e4149e267698d31b41d72 (diff)
downloadhercules-65e43c2ab18a446102dea9237cfd4152392d7f33.tar.gz
hercules-65e43c2ab18a446102dea9237cfd4152392d7f33.tar.bz2
hercules-65e43c2ab18a446102dea9237cfd4152392d7f33.tar.xz
hercules-65e43c2ab18a446102dea9237cfd4152392d7f33.zip
Moved MAX_CARTS and NEW_CARTS defines into common/mmo.h
- Fixes bugreport:8184, allowing re-commit of 94657284973f4037596bae468ebfbee5c217e02b Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/mmo.h')
-rw-r--r--src/common/mmo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 1d826463e..0003aa917 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -84,6 +84,14 @@
#endif // 20090603
#endif // 20070227
+/* Feb 1st 2012 */
+#if PACKETVER >= 20120201
+# define NEW_CARTS
+# define MAX_CARTS 9
+#else
+# define MAX_CARTS 5
+#endif
+
#define MAX_INVENTORY 100
//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.
#define MAX_CHARS 9