From fd34c17a54e69fa53b0b6ae7123fdbd60e6303f7 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 30 Jun 2007 15:49:18 +0000 Subject: [1742338] Fixed Hell portals not being revealed correctly when the horn is sounded. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1701 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/direct.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/direct.cc') diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index 56b2a41963..7598971924 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -36,6 +36,7 @@ #include "command.h" #include "debug.h" #include "describe.h" +#include "dungeon.h" #include "itemname.h" #include "monstuff.h" #include "mon-util.h" @@ -1675,9 +1676,13 @@ static void describe_cell(int mx, int my) std::string feature_desc = feature_description(mx, my); #ifdef DEBUG_DIAGNOSTICS - mprf("(%d,%d): %s - %s", mx, my, + std::string marker; + if (map_marker *mark = env.find_marker(coord_def(mx, my), MAT_ANY)) + marker = " (" + mark->describe() + ")"; + mprf("(%d,%d): %s - %s%s", mx, my, stringize_glyph(get_screen_glyph(mx, my)).c_str(), - feature_desc.c_str()); + feature_desc.c_str(), + marker.c_str()); #else mpr(feature_desc.c_str()); #endif -- cgit v1.2.3-54-g00ecf