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/tilecell.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/tilecell.cc')
-rw-r--r-- | crawl-ref/source/tilecell.cc | 2 |
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; |