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/player.cc | |
parent | 251b7a64e320bc847d049c29db59d348a4ccd93f (diff) | |
download | crawl-ref-2817eca4d6f33427c4188bc82e0fe593d7c7fe2c.tar.gz crawl-ref-2817eca4d6f33427c4188bc82e0fe593d7c7fe2c.zip |
Improve some checks.
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 5235565938..1bbf52e87e 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -329,7 +329,7 @@ bool swap_check(monster* mons, coord_def &loc, bool quiet) { loc = you.pos(); - if (you.form == TRAN_TREE) + if (you.is_stationary()) return false; // Don't move onto dangerous terrain. |