From bb8e9480efb1259fbb2da1e07bdfc0b613c68eea Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 28 May 2009 03:58:15 +0000 Subject: 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 --- crawl-ref/source/abl-show.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/abl-show.cc') 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& talents) while (true) { std::vector sel = abil_menu.show(false); - redraw_screen(); + if (!crawl_state.doing_prev_cmd_again) + redraw_screen(); if (sel.empty()) return -1; -- cgit v1.2.3-54-g00ecf