summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_crawl.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-10-18 19:51:41 +0200
committerFlorian Diebold <flodiebold@gmail.com>2011-10-18 19:51:59 +0200
commit6dc2f7b687afa71b7b5de3259c2df970cc47a0f3 (patch)
tree91a4448392898e7948bb774c39b2d56cd5007b13 /crawl-ref/source/l_crawl.cc
parent4f57fd2c0a3c81342509f08b24a4e973dc03b8f1 (diff)
downloadcrawl-ref-6dc2f7b687afa71b7b5de3259c2df970cc47a0f3.tar.gz
crawl-ref-6dc2f7b687afa71b7b5de3259c2df970cc47a0f3.zip
Fix the skill menu for an experience card not showing up in Tiles.
The (preliminary) skill training caused the title to be redrawn, which in turn made tiles switch to the normal layer (away from the menu). Redrawing of the title is now deferred to print_stats. This might fix #4755, but I couldn't reproduce the bug even before the fix.
Diffstat (limited to 'crawl-ref/source/l_crawl.cc')
-rw-r--r--crawl-ref/source/l_crawl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/l_crawl.cc b/crawl-ref/source/l_crawl.cc
index 6a769f28cf..5fe862def3 100644
--- a/crawl-ref/source/l_crawl.cc
+++ b/crawl-ref/source/l_crawl.cc
@@ -821,6 +821,7 @@ LUAFN(_crawl_redraw_view)
LUAFN(_crawl_redraw_stats)
{
you.wield_change = true;
+ you.redraw_title = true;
you.redraw_quiver = true;
you.redraw_hit_points = true;
you.redraw_magic_points = true;