summaryrefslogtreecommitdiff
path: root/src/object1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
committerBardur Arantsson <bardur@scientician.net>2016-10-05 18:45:08 +0200
commit667acd0e312301ad613b6a71f843c51d2062aee6 (patch)
tree5e93eef312d1c8a049161f040859ed2d1a0be850 /src/object1.cc
parent4b179786d73cde338e97503d036baea9015f655d (diff)
Move d_info into GameEditData
Diffstat (limited to 'src/object1.cc')
-rw-r--r--src/object1.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object1.cc b/src/object1.cc
index e0b4f60b..fe777d10 100644
--- a/src/object1.cc
+++ b/src/object1.cc
@@ -2481,6 +2481,8 @@ static void describe_device(object_type *o_ptr)
*/
static cptr object_out_desc_where_found(s16b level, s16b dungeon)
{
+ auto const &d_info = game->edit_data.d_info;
+
static char str[80];
if (dungeon == DUNGEON_WILDERNESS)