summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2015-11-16 01:35:24 +0800
committerHaru <haru@dotalux.com>2015-12-22 04:11:50 +0100
commitce6eafb3ec39bf38384a944531b63abf452c80fe (patch)
tree81e58106e759de10a15f69748cd98f080f356f29 /src/common
parent4e8ece70f086758ce70514957af7ca8eada9385b (diff)
downloadhercules-ce6eafb3ec39bf38384a944531b63abf452c80fe.tar.gz
hercules-ce6eafb3ec39bf38384a944531b63abf452c80fe.tar.bz2
hercules-ce6eafb3ec39bf38384a944531b63abf452c80fe.tar.xz
hercules-ce6eafb3ec39bf38384a944531b63abf452c80fe.zip
Add a source constant SCRIPT_VARNAME_LENGTH
since we can freely adjust the length of the variable name just edit this value and edit in main.sql
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index cb8a75b24..8444a8d67 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -214,6 +214,8 @@
#define JOBL_BABY 0x2000 //8192
#define JOBL_THIRD 0x4000 //16384
+#define SCRIPT_VARNAME_LENGTH 32 ///< Maximum length of a script variable
+
struct hplugin_data_store;
enum item_types {