Browse Source

Another Item_Give bug fixed... (#2636)

pull/2638/head^2
Malkierian 2 weeks ago committed by GitHub
parent
commit
7f5f4251ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      soh/src/code/z_parameter.c

1
soh/src/code/z_parameter.c

@ -2271,6 +2271,7 @@ u8 Item_Give(PlayState* play, u8 item) { @@ -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…
Cancel
Save