diff options
author | ExpoSeed <> | 2021-05-15 15:56:17 -0500 |
---|---|---|
committer | ExpoSeed <> | 2021-05-15 15:56:17 -0500 |
commit | 361fa594b30005edaa8aef5f6b02ac8b15149cba (patch) | |
tree | 24cfa5b11022ac28cccd5634e95bfe1e2ad6040c /src/item.c | |
parent | ab8318cc79de60413085b104125490cbae344169 (diff) |
Various BUGFIXes and UBFIXes
Diffstat (limited to 'src/item.c')
-rw-r--r-- | src/item.c | 1 |
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) { |