summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
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;