diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-20 00:37:20 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-20 00:37:20 +0000 |
commit | c89b568c87e0e9ededf6bf5e01a8cb64c14d29c2 (patch) | |
tree | a51ae1f02146759cfc062aef3025931f30bd5624 /crawl-ref/source/directn.cc | |
parent | 207f41de95938d15bca36a7b5b8872adabd78e2d (diff) | |
download | crawl-ref-c89b568c87e0e9ededf6bf5e01a8cb64c14d29c2.tar.gz crawl-ref-c89b568c87e0e9ededf6bf5e01a8cb64c14d29c2.zip |
Fix [2566927]: add new keymap codes for targeting and levelmap.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9136 c06c8d41-db1a-0410-9941-cceddc491573
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(); |