summaryrefslogtreecommitdiff
path: root/src/config
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/config
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/config')
-rw-r--r--src/config/const.h8
-rw-r--r--src/config/renewal.h12
2 files changed, 11 insertions, 9 deletions
diff --git a/src/config/const.h b/src/config/const.h
index f9baa4d7d..ba06d70cb 100644
--- a/src/config/const.h
+++ b/src/config/const.h
@@ -87,14 +87,6 @@
#define RE_LVL_TMDMOD()
#endif
-/* Feb 1st 2012 */
-#if PACKETVER >= 20120201
- #define NEW_CARTS
- #define MAX_CARTS 9
-#else
- #define MAX_CARTS 5
-#endif
-
// Renewal variable cast time reduction
#ifdef RENEWAL_CAST
#define VARCAST_REDUCTION(val) do { \
diff --git a/src/config/renewal.h b/src/config/renewal.h
index 36bdd3958..1c48b9f8a 100644
--- a/src/config/renewal.h
+++ b/src/config/renewal.h
@@ -13,8 +13,18 @@
* @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
**/
+/**
+ * Renewal full toggle switch.
+ *
+ * Uncomment this line to disable all of the below settings at once.
+ * Note: in UNIX builds, this can be easily done without touching this
+ * line, by passing --disable-renewal to the configure script:
+ * ./configure --disable-renewal
+ */
//#define DISABLE_RENEWAL
-#ifndef DISABLE_RENEWAL
+
+
+#ifndef DISABLE_RENEWAL // Do not change this line
/// game renewal server mode
/// (disable by commenting the line)