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 914bee75c..a919467cf 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -14034,7 +14034,7 @@ BUILDIN(getiteminfo)
script_pushint(st, it->slot);
break;
case 11:
- script_pushint(st, it->look);
+ script_pushint(st, it->subtype);
break;
case 12:
script_pushint(st, it->elv);
@@ -14287,7 +14287,7 @@ BUILDIN(setiteminfo)
it->slot = value;
break;
case 11:
- it->look = value;
+ it->subtype = value;
break;
case 12:
it->elv = value;