From 209b9c3b6afd06e098384b77bde4905a69be58ae Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Mon, 15 Jul 2013 17:30:17 +0200 Subject: Use 'c'/'s' in monster health bar if monster is confused/stunned --- src/xtra1.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/xtra1.c b/src/xtra1.c index 6e9b15fd..638a2102 100644 --- a/src/xtra1.c +++ b/src/xtra1.c @@ -1005,7 +1005,13 @@ static void health_redraw(void) Term_putstr(COL_INFO, ROW_INFO, 12, TERM_WHITE, "[----------]"); /* Dump the current "health" (use '*' symbols) */ - Term_putstr(COL_INFO + 1, ROW_INFO, len, attr, "**********"); + if (m_ptr->stunned) { + Term_putstr(COL_INFO + 1, ROW_INFO, len, attr, "ssssssssss"); + } else if (m_ptr->confused) { + Term_putstr(COL_INFO + 1, ROW_INFO, len, attr, "cccccccccc"); + } else { + Term_putstr(COL_INFO + 1, ROW_INFO, len, attr, "**********"); + } } } -- cgit v1.2.3