summaryrefslogtreecommitdiff
path: root/src/item.c
diff options
context:
space:
mode:
authorSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-12-15 18:08:13 +0000
committerSlawter666 <38655737+Slawter666@users.noreply.github.com>2018-12-15 18:08:13 +0000
commit2fa0555ed582a108e628da7a787de346a614c15c (patch)
tree896b68856aa186bd10f279977b5c83d552b5d675 /src/item.c
parent5e92481f51cac1165ef22aed450637264a92c90f (diff)
Document some of item_menu.c
Diffstat (limited to 'src/item.c')
-rw-r--r--src/item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.c b/src/item.c
index 6a1f1955a..71c2dc0f7 100644
--- a/src/item.c
+++ b/src/item.c
@@ -543,7 +543,7 @@ bool8 RemoveBagItem(u16 itemId, u16 count)
VarSet(VAR_0x40ED, itemId);
}
- var = sub_81ABB2C(pocket);
+ var = GetItemListPosition(pocket);
if (itemPocket->capacity > var
&& itemPocket->itemSlots[var].itemId == itemId)
{