Another Item_Give bug fixed... (#2636)

This commit is contained in:
Malkierian 2023-03-15 10:25:24 -07:00 committed by GitHub
parent bd07a56022
commit 7f5f4251ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}
}