diff options
author | Shmuale Mark <shm.mark@gmail.com> | 2014-06-29 11:43:26 -0400 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-06-29 12:41:56 -0400 |
commit | 2817eca4d6f33427c4188bc82e0fe593d7c7fe2c (patch) | |
tree | 4d697c37f05f7a3215d478cce398c2ed0ccad46a /crawl-ref/source/spl-util.cc | |
parent | 251b7a64e320bc847d049c29db59d348a4ccd93f (diff) | |
download | crawl-ref-2817eca4d6f33427c4188bc82e0fe593d7c7fe2c.tar.gz crawl-ref-2817eca4d6f33427c4188bc82e0fe593d7c7fe2c.zip |
Improve some checks.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r-- | crawl-ref/source/spl-util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index 491f19dbe7..680840f2df 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -1119,7 +1119,7 @@ bool spell_is_useless(spell_type spell, bool transient) return true; break; case SPELL_SWIFTNESS: - if (transient && you.form == TRAN_TREE) + if (transient && you.is_stationary()) return true; // looking at player_movement_speed, this should be correct ~DMB if (player_movement_speed() <= 6) |