summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/travel.cc')
-rw-r--r--crawl-ref/source/travel.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc
index 3796137fe1..fc612ac569 100644
--- a/crawl-ref/source/travel.cc
+++ b/crawl-ref/source/travel.cc
@@ -27,6 +27,9 @@
#include "misc.h"
#include "mon-util.h"
#include "monstuff.h"
+#ifdef USE_TILE
+ #include "output.h"
+#endif
#include "overmap.h"
#include "place.h"
#include "player.h"
@@ -815,6 +818,13 @@ void start_running(void)
void stop_running(void)
{
you.running.stop();
+#ifdef USE_TILE
+ // redraw colour bars now as that's blocked during runmode
+ if (you.hp != you.hp_max)
+ draw_hp_bar(you.hp, you.hp_max);
+ if (you.magic_points != you.max_magic_points)
+ draw_mp_bar(you.magic_points, you.max_magic_points);
+#endif
}
static bool is_valid_explore_target(int x, int y)