diff options
author | Florian Diebold <flodiebold@gmail.com> | 2012-03-23 20:05:46 +0100 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2012-03-23 20:05:46 +0100 |
commit | 654b8b308ac63d5b3d81ff9aaf6748307c3a83ba (patch) | |
tree | 87254dec44cba4ef9487fe033d175de978b92ff6 /crawl-ref/source/tiledgnbuf.cc | |
parent | 42d8ed7d8c48492f534ee3587f71c496e32f324f (diff) | |
download | crawl-ref-654b8b308ac63d5b3d81ff9aaf6748307c3a83ba.tar.gz crawl-ref-654b8b308ac63d5b3d81ff9aaf6748307c3a83ba.zip |
Add a tile for the suppression aura.
I really don't like the whole packed_cell thing and how many changes
are necessary to add this kind of tile; much of packed_cell is just
replicating flags from map_cells. I'll have to check if this can be
simplified.
Diffstat (limited to 'crawl-ref/source/tiledgnbuf.cc')
-rw-r--r-- | crawl-ref/source/tiledgnbuf.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tiledgnbuf.cc b/crawl-ref/source/tiledgnbuf.cc index 6aadde5983..4b34a71810 100644 --- a/crawl-ref/source/tiledgnbuf.cc +++ b/crawl-ref/source/tiledgnbuf.cc @@ -268,6 +268,8 @@ void DungeonCellBuffer::pack_background(int x, int y, const packed_cell &cell) m_buf_feat.add(TILE_SANCTUARY, x, y); if (cell.is_silenced) m_buf_feat.add(TILE_SILENCED, x, y); + if (cell.is_suppressed) + m_buf_feat.add(TILE_SUPPRESSED, x, y); if (cell.halo == HALO_RANGE) m_buf_feat.add(TILE_HALO_RANGE, x, y); if (cell.halo == HALO_UMBRA) |