diff options
Diffstat (limited to 'src/cmd6.cc')
-rw-r--r-- | src/cmd6.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd6.cc b/src/cmd6.cc index 393261bf..e52d1e32 100644 --- a/src/cmd6.cc +++ b/src/cmd6.cc @@ -18,6 +18,7 @@ #include "dungeon_info_type.hpp" #include "ego_item_type.hpp" #include "files.hpp" +#include "game.hpp" #include "hook_eat_in.hpp" #include "hook_eat_out.hpp" #include "hooks.hpp" @@ -2867,6 +2868,8 @@ static object_filter_t const &item_tester_hook_readable() */ void do_cmd_read_scroll(void) { + auto const &d_info = game->edit_data.d_info; + /* Check some conditions */ if (p_ptr->blind) { |