diff options
author | Haru <haru@dotalux.com> | 2014-01-13 04:06:56 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-01-13 04:16:48 +0100 |
commit | 8eadb9fc241e1784084625e89b208d80bda9e6e2 (patch) | |
tree | 098dc5775c6dd10cb7c98b8054df09e22d3689e2 /src/map/script.h | |
parent | ff4faca9cc44e98abad50bfda849f596d7bc81c1 (diff) | |
download | hercules-8eadb9fc241e1784084625e89b208d80bda9e6e2.tar.gz hercules-8eadb9fc241e1784084625e89b208d80bda9e6e2.tar.bz2 hercules-8eadb9fc241e1784084625e89b208d80bda9e6e2.tar.xz hercules-8eadb9fc241e1784084625e89b208d80bda9e6e2.zip |
Improved overwriting priority of variables/constants/parameters
- Fixes issue 7968, thanks to Moguri
http://hercules.ws/board/tracker/issue-7968-trader-npc-not-working/
- Corrected sprite name for KO_KAGE to match latest kRO info (previouly
KO_ZANZOU, conflicting with a Kagerou/Oboro skill identifier)
- Updated self-test script to include checks for constants and for setd
and getd.
- Made possible thanks to Ind.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/script.h b/src/map/script.h index 7a643fa3e..97db2a775 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -575,7 +575,6 @@ struct script_interface { void (*pop_stack) (struct script_state* st, int start, int end); void (*set_constant) (const char* name, int value, bool isparameter); void (*set_constant2) (const char *name, int value, bool isparameter); - void (*set_constant_force) (const char *name, int value, bool isparameter); bool (*get_constant) (const char* name, int* value); void (*label_add)(int key, int pos); void (*run) (struct script_code *rootscript,int pos,int rid,int oid); |