Skip to content

Commit

Permalink
Adjust lens item check to remove bad non-returning code.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Mar 4, 2024
1 parent bd4499f commit ea99a8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion code/source/rnd/item_override.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,6 @@ namespace rnd {
if (gctx->scene == game::SceneId::GoronVillageWinter) {
auto& saveData = game::GetCommonData().save;
if (saveData.player.magic_acquired == 0 || !game::HasItem(currentItem)) return 0xFF;
else game::HasItem(currentItem) ? (int) currentItem : 0xFF;
}
}
// Use the standard pointer to array as this seems to mess with
Expand Down

0 comments on commit ea99a8c

Please sign in to comment.