diff options
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 0aad26a41d..6eaa8913ac 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -317,7 +317,7 @@ static void _direction_again(dist& moves, targeting_type restricts, moves.isEndpoint = false; moves.choseRay = false; - if (you.prev_targ == MHITNOT && you.prev_grd_targ == coord_def(0, 0)) + if (you.prev_targ == MHITNOT && you.prev_grd_targ.origin()) { moves.isCancel = true; crawl_state.cancel_cmd_repeat(); |