summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiledgnbuf.cc
diff options
context:
space:
mode:
authorontoclasm <yokomeshi@gmail.com>2012-11-16 00:14:46 -0600
committerAdam Borowski <kilobyte@angband.pl>2013-01-08 04:00:28 +0100
commit2c5fb7653384d0f72babaf2312c50989ea0b1021 (patch)
treef68796e9e306f0a135ad399117b0b080f4025973 /crawl-ref/source/tiledgnbuf.cc
parentaf44d5ed3a4f1c48834bbfd36d49d91f1bd6baca (diff)
downloadcrawl-ref-2c5fb7653384d0f72babaf2312c50989ea0b1021.tar.gz
crawl-ref-2c5fb7653384d0f72babaf2312c50989ea0b1021.zip
Display heat auras in tiles
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 732a6a1e45..1296f28e1f 100644
--- a/crawl-ref/source/tiledgnbuf.cc
+++ b/crawl-ref/source/tiledgnbuf.cc
@@ -257,6 +257,8 @@ void DungeonCellBuffer::pack_background(int x, int y, const packed_cell &cell)
{
if (cell.is_sanctuary)
m_buf_feat.add(TILE_SANCTUARY, x, y);
+ if (cell.heat_aura)
+ m_buf_feat.add(TILE_HEAT_AURA + cell.heat_aura - 1, x, y);
if (cell.is_silenced)
m_buf_feat.add(TILE_SILENCED, x, y);
if (cell.is_suppressed)