diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-23 20:11:44 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-23 20:12:08 +0200 |
commit | 3dfd51d15686de33737a58fe74751122f272816a (patch) | |
tree | d5107d9aec965cd352be4997c688d4a54c0ab1d1 /src/dungeon.cc | |
parent | f921de3438624fb4b4e6d1fc3e256c1ca7292067 (diff) |
Remove 'alert_hitpoint' option; behave as if always set
This actually preserves previous behavior since setting the warning
threshold to 0% (default) has the same effect as disabling the alert
entirely.
Diffstat (limited to 'src/dungeon.cc')
-rw-r--r-- | src/dungeon.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dungeon.cc b/src/dungeon.cc index 2e71278e..417e8010 100644 --- a/src/dungeon.cc +++ b/src/dungeon.cc @@ -1909,7 +1909,10 @@ static void process_world(void) 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); |