summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tile2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tile2.cc')
-rw-r--r--crawl-ref/source/tile2.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/tile2.cc b/crawl-ref/source/tile2.cc
index 46977c7a68..2228dccd1e 100644
--- a/crawl-ref/source/tile2.cc
+++ b/crawl-ref/source/tile2.cc
@@ -773,6 +773,15 @@ void tcache_compose_normal(int ix, int *fg, int *bg)
status_shift += 5;
}
+ // Don't let the "new stair" icon cover up any existing icons, but
+ // draw it otherwise.
+ if (bg0 & TILE_FLAG_NEW_STAIR && status_shift == 0)
+ {
+ tcache_overlay(tc_img, ix, TILE_NEW_STAIR,
+ TREGION_0_NORMAL, &c, NULL);
+ }
+
+
if (bg0 & TILE_FLAG_UNSEEN)
{
tcache_overlay(tc_img, ix, TILE_MESH, TREGION_0_NORMAL, &c, NULL);