From 99426d184cb992f9839f0c17d393c0c188244e45 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Mon, 23 Nov 2009 00:00:08 -0800 Subject: Fix targeting do-command-again Oops. --- crawl-ref/source/directn.cc | 4 ++++ 1 file changed, 4 insertions(+) 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! -- cgit v1.2.3-54-g00ecf