diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-24 06:12:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-24 06:12:43 +0000 |
commit | ee53c253f44622190c9981c17e7efe66d15ddfc8 (patch) | |
tree | c128607e7088e007bd838e95f1ad8ca2d422cc2c /crawl-ref/source/misc.h | |
parent | 87b16bb06d3f693ec3f6d727a50bdadf4df5c138 (diff) | |
download | crawl-ref-ee53c253f44622190c9981c17e7efe66d15ddfc8.tar.gz crawl-ref-ee53c253f44622190c9981c17e7efe66d15ddfc8.zip |
Put skeletal dragons back in the dragon genus, and treat all
dragon-types consistently when dealing with weapons of dragon slaying
(dragons, draconians, dragon-transformed players, zombified dragons, and
zombified draconians). New function is_dragonkind() handles this.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7578 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.h')
-rw-r--r-- | crawl-ref/source/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.h b/crawl-ref/source/misc.h index 6a7a095e9c..4c46506d0e 100644 --- a/crawl-ref/source/misc.h +++ b/crawl-ref/source/misc.h @@ -110,4 +110,6 @@ std::string your_hand(bool plural); bool stop_attack_prompt(const monsters *mon, bool beam_attack, bool beam_target); +bool is_dragonkind(const actor *act, const monsters *mon); + #endif |