diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-28 03:58:15 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-05-28 03:58:15 +0000 |
commit | bb8e9480efb1259fbb2da1e07bdfc0b613c68eea (patch) | |
tree | 39e4212ac5b39bae9c29959cccac479e3df5f414 /crawl-ref/source/abl-show.cc | |
parent | 0e9f823830bc5395267bc0eb795d7b1877ae5681 (diff) | |
download | crawl-ref-bb8e9480efb1259fbb2da1e07bdfc0b613c68eea.tar.gz crawl-ref-bb8e9480efb1259fbb2da1e07bdfc0b613c68eea.zip |
Reduce screen-flicker and clearing of the message window when re-doing the
previous command (`) (at least for actions involving selecting an item from
inventory, selecting an ability to use, selecting a spell to cast, and
selecting a spell to memorize).
Not tested with the tiles build.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9839 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r-- | crawl-ref/source/abl-show.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc index c915c9edfe..207523fd19 100644 --- a/crawl-ref/source/abl-show.cc +++ b/crawl-ref/source/abl-show.cc @@ -2008,7 +2008,8 @@ int choose_ability_menu(const std::vector<talent>& talents) while (true) { std::vector<MenuEntry*> sel = abil_menu.show(false); - redraw_screen(); + if (!crawl_state.doing_prev_cmd_again) + redraw_screen(); if (sel.empty()) return -1; |