summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-selfench.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-06-29 11:43:26 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-06-29 12:41:56 -0400
commit2817eca4d6f33427c4188bc82e0fe593d7c7fe2c (patch)
tree4d697c37f05f7a3215d478cce398c2ed0ccad46a /crawl-ref/source/spl-selfench.cc
parent251b7a64e320bc847d049c29db59d348a4ccd93f (diff)
downloadcrawl-ref-2817eca4d6f33427c4188bc82e0fe593d7c7fe2c.tar.gz
crawl-ref-2817eca4d6f33427c4188bc82e0fe593d7c7fe2c.zip
Improve some checks.
Diffstat (limited to 'crawl-ref/source/spl-selfench.cc')
-rw-r--r--crawl-ref/source/spl-selfench.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-selfench.cc b/crawl-ref/source/spl-selfench.cc
index 9a3e129238..1f1b8a1d8f 100644
--- a/crawl-ref/source/spl-selfench.cc
+++ b/crawl-ref/source/spl-selfench.cc
@@ -186,7 +186,7 @@ spret_type cast_revivification(int pow, bool fail)
spret_type cast_swiftness(int power, bool fail)
{
- if (you.form == TRAN_TREE)
+ if (you.is_stationary())
{
canned_msg(MSG_CANNOT_MOVE);
return SPRET_ABORT;