diff options
author | Haru <haru@dotalux.com> | 2018-07-25 06:19:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-25 06:19:22 +0200 |
commit | 67b1035c8fc0211dcbc9569c9de0ff4a774a69d7 (patch) | |
tree | d26cecc880e47519fa0f2afd3b0f38746054d09c /src/map/script.h | |
parent | bd1d37da3e3ac938065e52e264753555339adc66 (diff) | |
parent | 90de9174210664e1c5af4db59868709d25226545 (diff) | |
download | hercules-67b1035c8fc0211dcbc9569c9de0ff4a774a69d7.tar.gz hercules-67b1035c8fc0211dcbc9569c9de0ff4a774a69d7.tar.bz2 hercules-67b1035c8fc0211dcbc9569c9de0ff4a774a69d7.tar.xz hercules-67b1035c8fc0211dcbc9569c9de0ff4a774a69d7.zip |
Merge pull request #2093 from AnnieRuru/47-MAX_ARRAYSIZE
Fix SCRIPT_MAX_ARRAYSIZE
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h index fe8bcf00b..9a8425ed2 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 |