summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-24 06:12:43 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-24 06:12:43 +0000
commitee53c253f44622190c9981c17e7efe66d15ddfc8 (patch)
treec128607e7088e007bd838e95f1ad8ca2d422cc2c /crawl-ref/source/misc.h
parent87b16bb06d3f693ec3f6d727a50bdadf4df5c138 (diff)
downloadcrawl-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.h2
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