diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2023-12-04 13:52:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-04 07:52:39 -0600 |
| commit | 365afe78338c9cd85c93e8590781eb4f0b8eb70c (patch) | |
| tree | 74fc839cebe8f472ac5d4fff976658190155ed4d /soh/src/code | |
| parent | 1fea642f337ef1424d2aa1068d485c01ab31af10 (diff) | |
Add tableId to getItemEntry (#3064)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_parameter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/z_parameter.c b/soh/src/code/z_parameter.c index 552d28e73..3bc7c9c6a 100644 --- a/soh/src/code/z_parameter.c +++ b/soh/src/code/z_parameter.c @@ -1801,7 +1801,7 @@ u8 Return_Item_Entry(GetItemEntry itemEntry, ItemID returnItem ) { u8 Return_Item(u8 itemID, ModIndex modId, ItemID returnItem) { // ITEM_SOLD_OUT doesn't have an ItemTable entry, so pass custom entry instead if (itemID == ITEM_SOLD_OUT) { - GetItemEntry gie = { ITEM_SOLD_OUT, 0, 0, 0, 0, 0, 0, 0, false, ITEM_FROM_NPC, ITEM_CATEGORY_LESSER, NULL }; + GetItemEntry gie = { ITEM_SOLD_OUT, 0, 0, 0, 0, 0, 0, 0, 0, false, ITEM_FROM_NPC, ITEM_CATEGORY_LESSER, NULL }; return Return_Item_Entry(gie, returnItem); } |
