mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-13 01:57:18 -07:00
Another Item_Give bug fixed... (#2636)
This commit is contained in:
parent
bd07a56022
commit
7f5f4251ca
1 changed files with 1 additions and 0 deletions
|
@ -2271,6 +2271,7 @@ u8 Item_Give(PlayState* play, u8 item) {
|
|||
for (i = 0; i < 4; i++) {
|
||||
if (gSaveContext.inventory.items[temp + i] == ITEM_NONE) {
|
||||
gSaveContext.inventory.items[temp + i] = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue