diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-10-05 18:45:08 +0200 |
commit | 667acd0e312301ad613b6a71f843c51d2062aee6 (patch) | |
tree | 5e93eef312d1c8a049161f040859ed2d1a0be850 /src/xtra1.cc | |
parent | 4b179786d73cde338e97503d036baea9015f655d (diff) |
Move d_info into GameEditData
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) { |