summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilecell.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2012-03-23 20:05:46 +0100
committerFlorian Diebold <flodiebold@gmail.com>2012-03-23 20:05:46 +0100
commit654b8b308ac63d5b3d81ff9aaf6748307c3a83ba (patch)
tree87254dec44cba4ef9487fe033d175de978b92ff6 /crawl-ref/source/tilecell.cc
parent42d8ed7d8c48492f534ee3587f71c496e32f324f (diff)
downloadcrawl-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/tilecell.cc')
-rw-r--r--crawl-ref/source/tilecell.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tilecell.cc b/crawl-ref/source/tilecell.cc
index 9cabb7a3f6..ed420c5364 100644
--- a/crawl-ref/source/tilecell.cc
+++ b/crawl-ref/source/tilecell.cc
@@ -25,6 +25,7 @@ void packed_cell::clear()
is_bloody = false;
is_silenced = false;
+ is_suppressed = false;
halo = HALO_NONE;
is_moldy = false;
glowing_mold = false;
@@ -41,6 +42,7 @@ bool packed_cell::operator ==(const packed_cell &other) const
if (is_bloody != other.is_bloody) return false;
if (is_silenced != other.is_silenced) return false;
+ if (is_suppressed != other.is_suppressed) return false;
if (halo != other.halo) return false;
if (is_moldy != other.is_moldy) return false;
if (glowing_mold != other.glowing_mold) return false;