summaryrefslogtreecommitdiff
path: root/src/item.c
diff options
context:
space:
mode:
authorExpoSeed <>2021-05-15 15:56:17 -0500
committerExpoSeed <>2021-05-15 15:56:17 -0500
commit361fa594b30005edaa8aef5f6b02ac8b15149cba (patch)
tree24cfa5b11022ac28cccd5634e95bfe1e2ad6040c /src/item.c
parentab8318cc79de60413085b104125490cbae344169 (diff)
Various BUGFIXes and UBFIXes
Diffstat (limited to 'src/item.c')
-rw-r--r--src/item.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/item.c b/src/item.c
index 68907b02c..156034262 100644
--- a/src/item.c
+++ b/src/item.c
@@ -548,7 +548,6 @@ bool8 AddPCItem(u16 itemId, u16 count)
void RemovePCItem(u8 index, u16 count)
{
- // UB: should use GetPCItemQuantity and SetPCItemQuantity functions
gSaveBlock1Ptr->pcItems[index].quantity -= count;
if (gSaveBlock1Ptr->pcItems[index].quantity == 0)
{