summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-selfench.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2013-11-06 19:53:06 +0000
committerChris Campbell <chriscampbell89@gmail.com>2013-11-06 21:06:28 +0000
commitc60660aeeb46ff28d2db71ce72d83e894294265f (patch)
tree2613c3fee58fb69bdf42c8b1a422c634fea9449a /crawl-ref/source/spl-selfench.cc
parent5b5c7e557eb3cf2b202b56fedab05398ef21866e (diff)
downloadcrawl-ref-c60660aeeb46ff28d2db71ce72d83e894294265f.tar.gz
crawl-ref-c60660aeeb46ff28d2db71ce72d83e894294265f.zip
Revert "Negate swiftness with stasis."
Formicids shouldn't change how stasis works for all other species. If this is to be changed for everyone it shouldn't be hidden as part of the merge. This reverts commit c1a2e1451a6ea5a45cc18280012de944af2e1284.
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r--crawl-ref/source/spl-selfench.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc
index 754099cf39..a7f80579f0 100644
--- a/crawl-ref/source/spl-selfench.cc
+++ b/crawl-ref/source/spl-selfench.cc
@@ -12,7 +12,6 @@
#include "env.h"
#include "godconduct.h"
#include "hints.h"
-#include "item_use.h"
#include "libutil.h"
#include "message.h"
#include "misc.h"
@@ -193,9 +192,10 @@ spret_type cast_swiftness(int power, bool fail)
return SPRET_ABORT;
}
- if (stasis_blocks_effect(true, true, "%s emits a piercing whistle.", 20,
- "%s makes your neck tingle."))
+ if (you.in_water() || you.liquefied_ground())
{
+ mprf("The %s foams!", you.in_water() ? "water"
+ : "liquid ground");
return SPRET_ABORT;
}