summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-util.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2010-03-14 11:21:43 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2010-03-14 11:21:43 +1000
commit939a76e4b1dd62c01a29043ea057a389e6bc7d89 (patch)
tree0c7da9b723ad8c0d59a0d7f2c23ceef832a7a029 /crawl-ref/source/spl-util.h
parentabcfce3602d4428895f9b328555e764aa349a0ee (diff)
downloadcrawl-ref-939a76e4b1dd62c01a29043ea057a389e6bc7d89.tar.gz
crawl-ref-939a76e4b1dd62c01a29043ea057a389e6bc7d89.zip
Fix #1064, conjurations in rods being highlighted for Vehumet.
This adds a parameter to the spell highlighting utility that ignores all flags except for useless and god-forbidden for rods. It has no impact on normal spell books.
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r--crawl-ref/source/spl-util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h
index f924e7c433..d2166af395 100644
--- a/crawl-ref/source/spl-util.h
+++ b/crawl-ref/source/spl-util.h
@@ -147,7 +147,8 @@ bool spell_is_risky(spell_type spell);
int spell_highlight_by_utility( spell_type spell,
int default_color = COL_UNKNOWN,
bool transient = false,
- bool force_known_brand = false);
+ bool force_known_brand = false,
+ bool rod_spell = false);
bool spell_no_hostile_in_range(spell_type spell, int minRange);
#endif