Skip to content

Commit

Permalink
fix item_entity_load
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Dec 30, 2024
1 parent 570fb2f commit f01596b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item_entity.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void item_entity_load(ItemEntity* item) {
s32 size;
s32 i;

item->savedReadPos = item->readPos = gItemEntityScripts[item->itemID];
item->savedReadPos = item->readPos = pos = gItemEntityScripts[item->itemID];

while (TRUE) {
switch (*pos++) {
Expand Down

0 comments on commit f01596b

Please sign in to comment.