summaryrefslogtreecommitdiff
path: root/src/map/script.c
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/map/script.c
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/map/script.c')
-rw-r--r--src/map/script.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 068be8524..4195e40fc 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -4,7 +4,7 @@
#define HERCULES_CORE
-#include "../config/core.h" // NEW_CARTS, RENEWAL, RENEWAL_ASPD, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EDP, RENEWAL_EXP, RENEWAL_LVDMG, SCRIPT_CALLFUNC_CHECK, SECURE_NPCTIMEOUT, SECURE_NPCTIMEOUT_INTERVAL
+#include "../config/core.h" // RENEWAL, RENEWAL_ASPD, RENEWAL_CAST, RENEWAL_DROP, RENEWAL_EDP, RENEWAL_EXP, RENEWAL_LVDMG, SCRIPT_CALLFUNC_CHECK, SECURE_NPCTIMEOUT, SECURE_NPCTIMEOUT_INTERVAL
#include "script.h"
#include <math.h>
@@ -45,6 +45,7 @@
#include "../common/cbasetypes.h"
#include "../common/malloc.h"
#include "../common/md5calc.h"
+#include "../common/mmo.h" // NEW_CARTS
#include "../common/nullpo.h"
#include "../common/random.h"
#include "../common/showmsg.h"