summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-other.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2011-07-13 23:28:28 +0100
committerChris Campbell <chriscampbell89@gmail.com>2011-07-13 23:28:28 +0100
commitdf7ea41f5e99f64a97782ef7f9ed4c4a6887d7aa (patch)
tree5ba4d3d581b69d8bbe73f0cab31dc245230fe8f5 /crawl-ref/source/spl-other.h
parentc938bf108a8f592684a5c4f65a16989e7d9e88ca (diff)
downloadcrawl-ref-df7ea41f5e99f64a97782ef7f9ed4c4a6887d7aa.tar.gz
crawl-ref-df7ea41f5e99f64a97782ef7f9ed4c4a6887d7aa.zip
Abort some self-enchantments without wasting a turn in situations where they cannot be cast
Also remove some unnecessary checks: Stoneskin being uncastable by the undead is already handled elsewhere, and Ozo's armour doesn't need to check for whether it's being extended (by the removed Extension spell).
Diffstat (limited to 'crawl-ref/source/spl-other.h')
-rw-r--r--crawl-ref/source/spl-other.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-other.h b/crawl-ref/source/spl-other.h
index 86f7caf2c5..02796ef6ce 100644
--- a/crawl-ref/source/spl-other.h
+++ b/crawl-ref/source/spl-other.h
@@ -12,8 +12,8 @@ bool cast_passwall(const coord_def& delta, int pow);
void cast_intoxicate(int pow);
bool cast_fulsome_distillation(int pow, bool check_range = true);
void remove_condensation_shield();
-void cast_condensation_shield(int pow);
-void cast_stoneskin(int pow);
+bool cast_condensation_shield(int pow);
+bool cast_stoneskin(int pow);
bool cast_darkness(int pow);
#endif