diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-07-15 17:30:17 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-08-08 16:33:29 +0200 |
commit | 209b9c3b6afd06e098384b77bde4905a69be58ae (patch) | |
tree | db4e33e31bc5b8c4c570e8cc3e0fff98a4f80520 | |
parent | 7a56383dbe952c9c8f7a979a6bab469f2b451a29 (diff) |
Use 'c'/'s' in monster health bar if monster is confused/stunned
-rw-r--r-- | src/xtra1.c | 8 |
1 files changed, 7 insertions, 1 deletions
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, "**********"); + } } } |