summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mstuff2.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-31 20:54:18 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-31 20:54:18 +0000
commit3d526d1b18657a34d70710c613187c81046bf8e3 (patch)
tree3906b1e40b02f9113e704c6303d32f96aae97ef7 /crawl-ref/source/mstuff2.cc
parentb756c0e3fea9fa20f2f659aed8217d6401fc331b (diff)
downloadcrawl-ref-3d526d1b18657a34d70710c613187c81046bf8e3.tar.gz
crawl-ref-3d526d1b18657a34d70710c613187c81046bf8e3.zip
Fix identifying =TC not taking into account the spell.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.5@9867 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mstuff2.cc')
-rw-r--r--crawl-ref/source/mstuff2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index a6226acecd..56acbc2177 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -581,7 +581,7 @@ void mons_cast_noise(monsters *monster, bolt &pbolt, spell_type spell_cast)
const bool priest = mons_class_flag(monster->type, M_PRIEST);
const bool wizard = mons_class_flag(monster->type, M_ACTUAL_SPELLS);
const bool innate = !(priest || wizard || no_silent)
- || (flags & SPFLAG_INNATE);
+ || (flags & SPFLAG_INNATE);
int noise;
if (silent