diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 18:42:56 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 18:42:56 +0200 |
commit | e03d07212ee1a2077bf7c02e86f24a9e3bc766ec (patch) | |
tree | 417e0c0ff00f5a6a0a86e9e3a147f9a80ea6bcc5 /src/xtra1.cc | |
parent | 33bcbd13586471c8a1a3ce89389885d7a72e50c3 (diff) |
Fix a couple of Clang warnings
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r-- | src/xtra1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc index 1f538e90..6e1539e6 100644 --- a/src/xtra1.cc +++ b/src/xtra1.cc @@ -957,7 +957,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, "[----------]"); |