diff options
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r-- | src/xtra1.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc index aff76b71..6c9d0a29 100644 --- a/src/xtra1.cc +++ b/src/xtra1.cc @@ -539,8 +539,10 @@ static void prt_sp(void) */ static void prt_depth(int row, int col) { + auto const &d_info = game->edit_data.d_info; + char depths[32]; - dungeon_info_type *d_ptr = &d_info[dungeon_type]; + auto d_ptr = &d_info[dungeon_type]; if (p_ptr->wild_mode) { |