diff options
Diffstat (limited to 'src/spells1.cc')
-rw-r--r-- | src/spells1.cc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/spells1.cc b/src/spells1.cc index bb4febf0..daee9f03 100644 --- a/src/spells1.cc +++ b/src/spells1.cc @@ -1410,7 +1410,10 @@ void take_hit(int damage, cptr hit_from) if (p_ptr->chp < warning) { /* Hack -- bell on first notice */ - if (alert_hitpoint && (old_chp > warning)) bell(); + if (old_chp > warning) + { + bell(); + } sound(SOUND_WARN); @@ -1551,7 +1554,10 @@ void take_sanity_hit(int damage, cptr hit_from) if (p_ptr->csane < warning) { /* Hack -- bell on first notice */ - if (alert_hitpoint && (old_csane > warning)) bell(); + if (old_csane > warning) + { + bell(); + } sound(SOUND_WARN); |