summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorsmokexyz <sagunkho@hotmail.com>2017-04-11 15:06:08 +0800
committerGitHub <noreply@github.com>2017-04-11 15:06:08 +0800
commitb51af5aee64612475d7b4d53acf3980a195dd7e3 (patch)
tree26ed66175fe6d42b7c837a971ae62c245cc0b336 /src/map/script.c
parent96b77994e859255e8a60d0c5d0fd097f47433001 (diff)
downloadhercules-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.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
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;