mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-25 19:02:19 -05:00
Fix return of Item_Give for stricter compilers (#4244)
* fix return of Item_Give for stricter compilers * change to just item
This commit is contained in:
parent
8b6c183776
commit
4df4e61eb3
@ -1933,7 +1933,7 @@ u8 Item_Give(PlayState* play, u8 item) {
|
||||
Randomizer_GetSettingValue(RSK_SHUFFLE_DEKU_STICK_BAG) &&
|
||||
CUR_UPG_VALUE(UPG_STICKS) == 0
|
||||
) {
|
||||
return;
|
||||
return item;
|
||||
}
|
||||
|
||||
//prevents getting nuts without the bag in case something got missed
|
||||
@ -1943,7 +1943,7 @@ u8 Item_Give(PlayState* play, u8 item) {
|
||||
Randomizer_GetSettingValue(RSK_SHUFFLE_DEKU_NUT_BAG) &&
|
||||
CUR_UPG_VALUE(UPG_NUTS) == 0
|
||||
) {
|
||||
return;
|
||||
return item;
|
||||
}
|
||||
|
||||
lusprintf(__FILE__, __LINE__, 2, "Item Give - item: %#x", item);
|
||||
|
Loading…
Reference in New Issue
Block a user