summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg.cc
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-03-05 01:39:01 +0100
committerJohanna Ploog <j-p-e-g@users.sourceforge.net>2010-03-05 12:35:26 +0100
commit589e0335ac189b729d716ac4004e15e18be99ede (patch)
tree9aa4c74e2249a230f1b52e3ec26ca33f2291a14e /crawl-ref/source/tilereg.cc
parent4ddab215118a0929020f63d9a63e0b2bcc1aae4b (diff)
downloadcrawl-ref-589e0335ac189b729d716ac4004e15e18be99ede.tar.gz
crawl-ref-589e0335ac189b729d716ac4004e15e18be99ede.zip
For consistency, also suppress out of sight mouseover wall descriptions.
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r--crawl-ref/source/tilereg.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc
index f4c29b0059..c8ab374a9c 100644
--- a/crawl-ref/source/tilereg.cc
+++ b/crawl-ref/source/tilereg.cc
@@ -2328,8 +2328,11 @@ bool DungeonRegion::update_alt_text(std::string &alt)
+ " here.$$";
}
}
- else if (grid_appearance(gc) != DNGN_FLOOR)
+ else if (grid_appearance(gc) != DNGN_FLOOR
+ && !feat_is_wall(grid_appearance(gc)))
+ {
get_feature_desc(gc, inf);
+ }
else
{
// For plain floor, output the stash description.