summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2018-06-19 07:51:56 +0800
committerAnnieRuru <jeankof@ymail.com>2018-06-19 07:51:56 +0800
commit90de9174210664e1c5af4db59868709d25226545 (patch)
tree97197ca4a790e9b2c353b46c3c8acae41aac7e9a /src/map/script.h
parentb57232ac29732ff526eca750dee295a871861ed6 (diff)
downloadhercules-90de9174210664e1c5af4db59868709d25226545.tar.gz
hercules-90de9174210664e1c5af4db59868709d25226545.tar.bz2
hercules-90de9174210664e1c5af4db59868709d25226545.tar.xz
hercules-90de9174210664e1c5af4db59868709d25226545.zip
Fix SCRIPT_MAX_ARRAYSIZE
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h
index a0cfb7692..03342c4e8 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -50,7 +50,7 @@ struct item_data;
#define NUM_WHISPER_VAR 10
/// Maximum amount of elements in script arrays
-#define SCRIPT_MAX_ARRAYSIZE (UINT_MAX - 1)
+#define SCRIPT_MAX_ARRAYSIZE (INT_MAX - 1)
#define SCRIPT_BLOCK_SIZE 512