diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-18 17:30:52 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-18 17:30:52 +0000 |
commit | 7320fab87a70ad134b79a2f1d3a43b49a40cbe6f (patch) | |
tree | 8385d7fa23707227065c31d3424a7b34b7150f6e /crawl-ref | |
parent | c74a157f8f99fa7fffa2547c92a76d8cb7eecdb5 (diff) | |
download | crawl-ref-7320fab87a70ad134b79a2f1d3a43b49a40cbe6f.tar.gz crawl-ref-7320fab87a70ad134b79a2f1d3a43b49a40cbe6f.zip |
Clear targeting prompts after target is selected.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1056 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/direct.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc index 5c2ef946be..352291d8a0 100644 --- a/crawl-ref/source/direct.cc +++ b/crawl-ref/source/direct.cc @@ -631,7 +631,9 @@ void direction(struct dist& moves, targeting_type restricts, mode == TARG_ENEMY && Options.confirm_self_target && !yesno("Really target yourself?")) { - canned_msg(MSG_OK); + mesclr(); + mprf(MSGCH_PROMPT, "%s (%s)", prompt? prompt : "Aim", + target_mode_help_text(restricts)); } else if ( moves.isTarget && !see_grid(moves.tx, moves.ty) ) { @@ -714,6 +716,7 @@ void direction(struct dist& moves, targeting_type restricts, skip_iter = false; // only skip one iteration at most } moves.isMe = (moves.tx == you.x_pos && moves.ty == you.y_pos); + mesclr(); // We need this for directional explosions, otherwise they'll explode one // square away from the player. |