summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index ffc862cd29..24f3177070 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2869,7 +2869,8 @@ bool is_dragonkind(const actor *act, const monsters *mon)
{
return (true);
}
- else if (act->atype() == ACT_PLAYER
+
+ if (act->atype() == ACT_PLAYER
&& you.attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON)
{
return (true);