summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-23 16:58:30 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-23 16:58:30 +0000
commit1cb88e12f39a3bc94e9182f9069b5ff8e52cffcb (patch)
tree7859f4e8fb31e8fceebb403d5b85c8a6518b36dc /crawl-ref/source/spells2.h
parent4bfb1777f3ec7619767801d5cfb3abf67a1032ba (diff)
downloadcrawl-ref-1cb88e12f39a3bc94e9182f9069b5ff8e52cffcb.tar.gz
crawl-ref-1cb88e12f39a3bc94e9182f9069b5ff8e52cffcb.zip
Blade card now gives feedback when failing to brand.
Blade card can now give different brands, not just SPWPN_VORPAL. Type safety on brand_weapon(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2522 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells2.h')
-rw-r--r--crawl-ref/source/spells2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.h b/crawl-ref/source/spells2.h
index a19c83a76f..9fc45ef1b0 100644
--- a/crawl-ref/source/spells2.h
+++ b/crawl-ref/source/spells2.h
@@ -14,6 +14,7 @@
#define SPELLS2_H
#include "enum.h"
+#include "itemprop.h" // from brand_type
struct dist;
@@ -21,7 +22,7 @@ struct dist;
/* ***********************************************************************
* called from: spell
* *********************************************************************** */
-bool brand_weapon(int which_brand, int power);
+bool brand_weapon(brand_type which_brand, int power);
// last updated 24may2000 {dlb}