summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/direct.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-09 18:14:13 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-09 18:14:13 +0000
commit7aad8aac57d72150fcdfc133f18462675467b729 (patch)
tree01a59a64a0e80a8969c42847db61ae6d7a0b37f6 /crawl-ref/source/direct.cc
parent4e368c369ba334704aadad3c2f0800093ab7ebeb (diff)
downloadcrawl-ref-7aad8aac57d72150fcdfc133f18462675467b729.tar.gz
crawl-ref-7aad8aac57d72150fcdfc133f18462675467b729.zip
[1769972] Better handling of rogue markers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1985 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/direct.cc')
-rw-r--r--crawl-ref/source/direct.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc
index d8dcb66f74..3287e99d20 100644
--- a/crawl-ref/source/direct.cc
+++ b/crawl-ref/source/direct.cc
@@ -1736,9 +1736,12 @@ static void describe_cell(int mx, int my)
}
const std::string traveldest =
stair_destination_description(coord_def(mx, my));
- mprf("(%d,%d): %s - %s%s%s", mx, my,
+ const dungeon_feature_type feat = grd[mx][my];
+ mprf("(%d,%d): %s - %s (%d/%s)%s%s", mx, my,
stringize_glyph(get_screen_glyph(mx, my)).c_str(),
feature_desc.c_str(),
+ feat,
+ dungeon_feature_name(feat),
marker.c_str(),
traveldest.c_str());
#else