summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-04-10 01:54:48 +0100
committerChris Campbell <chriscampbell89@gmail.com>2014-04-10 01:54:48 +0100
commit3b1490a9115e511b221487ee6dcd343d67a7fcb0 (patch)
tree19d7dc76c3d0721de92aa30be8dc77ea6692e5a0 /crawl-ref/source/mon-util.cc
parent7f0af46a4c0c55950ed87cd2ba4aaf7528f05be8 (diff)
downloadcrawl-ref-3b1490a9115e511b221487ee6dcd343d67a7fcb0.tar.gz
crawl-ref-3b1490a9115e511b221487ee6dcd343d67a7fcb0.zip
Fix fire dragons not granting extra Dith piety
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index cf26f20b15..4b2cdaae66 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -723,7 +723,7 @@ bool mons_is_fiery(const monster* mon)
{
// This chain of checks is for fire breath weapons and special
// abilities.
- if (mons_genus(mon->type) == MONS_FIRE_DRAGON
+ if (mons_species(mon->type) == MONS_FIRE_DRAGON
|| mon->type == MONS_BURNING_BUSH
|| mon->type == MONS_PHOENIX
|| (mons_genus(mon->type) == MONS_DRACONIAN