summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/output.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r--crawl-ref/source/output.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc
index 30734b8f91..a169dee5fa 100644
--- a/crawl-ref/source/output.cc
+++ b/crawl-ref/source/output.cc
@@ -256,7 +256,9 @@ static void _print_stats_mp(int x, int y)
+ _count_digits(you.max_magic_points) + 1;
for (int i = 11-col; i > 0; i--)
cprintf(" ");
- draw_mp_bar(19, y, you.magic_points, you.max_magic_points);
+
+ if (! Options.classic_hud)
+ draw_mp_bar(19, y, you.magic_points, you.max_magic_points);
}
// Helper for print_stats
@@ -295,7 +297,8 @@ static void _print_stats_hp(int x, int y)
for (int i = 14-col; i > 0; i--)
cprintf(" ");
- draw_hp_bar(19, y, you.hp, you.hp_max);
+ if (! Options.classic_hud)
+ draw_hp_bar(19, y, you.hp, you.hp_max);
}
// XXX: alters state! Does more than just print!