summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-01-17 03:22:23 +0100
committerAdam Borowski <kilobyte@angband.pl>2012-01-17 15:04:11 +0100
commiteef54198d6d98c8a17c03b00c5f1d5e8ff23cda4 (patch)
tree5e2d28a17a5d91ad041c5fab56f5182dbf63409d /crawl-ref/source/tiledgnbuf.cc
parentee20cc89b8b5001e2d00e17966bd7b0115bdeb92 (diff)
downloadcrawl-ref-eef54198d6d98c8a17c03b00c5f1d5e8ff23cda4.tar.gz
crawl-ref-eef54198d6d98c8a17c03b00c5f1d5e8ff23cda4.zip
A very lame tile for umbras.
It really should be shifting, like in console. At least, this one works.
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r--crawl-ref/source/tiledgnbuf.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc
index 6c8ed19536..6aadde5983 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -270,6 +270,8 @@ void DungeonCellBuffer::pack_background(int x, int y, const packed_cell &cell)
m_buf_feat.add(TILE_SILENCED, x, y);
if (cell.halo == HALO_RANGE)
m_buf_feat.add(TILE_HALO_RANGE, x, y);
+ if (cell.halo == HALO_UMBRA)
+ m_buf_feat.add(TILE_UMBRA, x, y);
if (cell.orb_glow)
m_buf_feat.add(TILE_ORB_GLOW + cell.orb_glow - 1, x, y);