diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 24cb8e4f4..b13e2fb76 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -14830,6 +14830,7 @@ static BUILDIN(getinventorylist) } pc->setreg(sd,reference_uid(script->add_variable("@inventorylist_expire"), j),sd->status.inventory[i].expire_time); pc->setreg(sd,reference_uid(script->add_variable("@inventorylist_bound"), j),sd->status.inventory[i].bound); + pc->setreg(sd, reference_uid(script->add_variable("@inventorylist_idx"), j), i); j++; } } |