diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-23 00:00:08 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-23 00:00:08 -0800 |
commit | 99426d184cb992f9839f0c17d393c0c188244e45 (patch) | |
tree | 0157f6e3908d2615502e2a992c9777b59a91299d /crawl-ref/source/directn.cc | |
parent | 85764ca06524f0b2e3009b9706b45ed5d2db76fe (diff) | |
download | crawl-ref-99426d184cb992f9839f0c17d393c0c188244e45.tar.gz crawl-ref-99426d184cb992f9839f0c17d393c0c188244e45.zip |
Fix targeting do-command-again
Oops.
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r-- | crawl-ref/source/directn.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index cd94c49360..665f41c81b 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -999,7 +999,11 @@ void direction(dist& moves, targetting_type restricts, #endif if (crawl_state.is_replaying_keys() && restricts != DIR_DIR) + { + _direction_again(moves, restricts, mode, range, just_looking, + prompt, beh); return; + } // NOTE: Even if just_looking is set, moves is still interesting, // because we can travel there! |