Skip to content

Commit

Permalink
Include lens in check for item or magic.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Feb 26, 2024
1 parent f569609 commit bd7103a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/source/rnd/item_override.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ namespace rnd {
auto* gctx = GetContext().gctx;
if (gctx->scene == game::SceneId::GoronVillageWinter) {
auto& saveData = game::GetCommonData().save;
if (saveData.player.magic_acquired == 0) return 0xFF;
if (saveData.player.magic_acquired == 0 || !game::HasItem(currentItem)) return 0xFF;
}
}
// Use the standard pointer to array as this seems to mess with
Expand Down

0 comments on commit bd7103a

Please sign in to comment.