diff options
author | smokexyz <sagunkho@hotmail.com> | 2017-04-11 15:06:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 15:06:08 +0800 |
commit | b51af5aee64612475d7b4d53acf3980a195dd7e3 (patch) | |
tree | 26ed66175fe6d42b7c837a971ae62c245cc0b336 | |
parent | 96b77994e859255e8a60d0c5d0fd097f47433001 (diff) | |
download | hercules-b51af5aee64612475d7b4d53acf3980a195dd7e3.tar.gz hercules-b51af5aee64612475d7b4d53acf3980a195dd7e3.tar.bz2 hercules-b51af5aee64612475d7b4d53acf3980a195dd7e3.tar.xz hercules-b51af5aee64612475d7b4d53acf3980a195dd7e3.zip |
Fixes a minor typo in buildin_setequipoption
Related to the order of the arguments.
-rw-r--r-- | src/map/script.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c index 0cc7aeabe..a43052bc5 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -13979,8 +13979,8 @@ BUILDIN(getequipoption) BUILDIN(setequipoption) { int equip_index = script_getnum(st, 2); - int slot = script_getnum(st, 4); - int opt_index = script_getnum(st, 3); + int slot = script_getnum(st, 3); + int opt_index = script_getnum(st, 4); int value = script_getnum(st, 5); int i = -1; |