diff options
author | Neil Moore <neil@s-z.org> | 2013-09-07 15:37:24 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-09-07 15:39:50 -0400 |
commit | 969218fafc23162ded402b7dc8f27039a5c3e62a (patch) | |
tree | 5b64d1a263d36a66e492fa9fc49f96087fc8f1e0 /crawl-ref/source/spl-selfench.cc | |
parent | 64c48093362e8800c95b7a9ca768d68aa8279d95 (diff) | |
download | crawl-ref-969218fafc23162ded402b7dc8f27039a5c3e62a.tar.gz crawl-ref-969218fafc23162ded402b7dc8f27039a5c3e62a.zip |
Make lava block swiftness as water does.
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r-- | crawl-ref/source/spl-selfench.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc index 8003ec6d64..78bd00a2fc 100644 --- a/crawl-ref/source/spl-selfench.cc +++ b/crawl-ref/source/spl-selfench.cc @@ -194,9 +194,10 @@ spret_type cast_swiftness(int power, bool fail) return SPRET_ABORT; } - if (you.in_water() || you.liquefied_ground()) + if (you.in_water() || you.in_lava() || you.liquefied_ground()) { mprf("The %s foams!", you.in_water() ? "water" + : you.in_lava() ? "lava" : "liquid ground"); return SPRET_ABORT; } |