diff options
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r-- | crawl-ref/source/acr.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index c37003891e..c66132f260 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3915,7 +3915,7 @@ static void _move_player(coord_def move) // you're not confused, or if both of you are inside a sanctuary. const bool can_swap_places = targ_monst && !mons_is_stationary(targ_monst) - && (mons_wont_attack(targ_monst) + && (targ_monst->wont_attack() && !you.confused() || is_sanctuary(you.pos()) && is_sanctuary(targ)); |