mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
Another Item_Give bug fixed... (#2636)
This commit is contained in:
parent
bd07a56022
commit
7f5f4251ca
@ -2271,6 +2271,7 @@ u8 Item_Give(PlayState* play, u8 item) {
|
|||||||
for (i = 0; i < 4; i++) {
|
for (i = 0; i < 4; i++) {
|
||||||
if (gSaveContext.inventory.items[temp + i] == ITEM_NONE) {
|
if (gSaveContext.inventory.items[temp + i] == ITEM_NONE) {
|
||||||
gSaveContext.inventory.items[temp + i] = item;
|
gSaveContext.inventory.items[temp + i] = item;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user