summaryrefslogtreecommitdiff
path: root/src/xtra1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-18 00:00:35 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-18 00:00:35 +0100
commit2e65b441b27f1897fa5a5e468cae2dade7139f5f (patch)
tree041ca834f02ebbba0a70c0fc91806049e526399d /src/xtra1.cc
parent76d1d3f63fef965ba0a2d5ccea3408ad36e9ce4c (diff)
Fix monster health bar display
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r--src/xtra1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc
index 6643a0c3..043386ee 100644
--- a/src/xtra1.cc
+++ b/src/xtra1.cc
@@ -958,7 +958,7 @@ static void health_redraw(void)
}
/* Tracking a dead monster (???) */
- else if (!(m_list[health_who].hp < 0))
+ else if ((m_list[health_who].hp < 0))
{
/* Indicate that the monster health is "unknown" */
Term_putstr(col, row, 12, TERM_WHITE, "[----------]");