From ce6eafb3ec39bf38384a944531b63abf452c80fe Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Mon, 16 Nov 2015 01:35:24 +0800 Subject: 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 --- src/common/mmo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3-60-g2f50