summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/options.cc1
-rw-r--r--src/options.hpp1
-rw-r--r--src/tables.cc3
-rw-r--r--src/util.cc4
4 files changed, 0 insertions, 9 deletions
diff --git a/src/options.cc b/src/options.cc
index c59644e3..07dd7869 100644
--- a/src/options.cc
+++ b/src/options.cc
@@ -25,7 +25,6 @@ bool_ disturb_detect; /* Disturb whenever leaving trap-detected area */
bool_ disturb_state; /* Disturn whenever player state changes */
bool_ disturb_minor; /* Disturb whenever boring things happen */
bool_ disturb_other; /* Disturb whenever various things happen */
-bool_ alert_failure; /* Alert user to various failures */
bool_ last_words; /* Get last words upon dying */
bool_ small_levels; /* Allow unusually small dungeon levels */
bool_ empty_levels; /* Allow empty 'arena' levels */
diff --git a/src/options.hpp b/src/options.hpp
index 0a15570f..6900b9a3 100644
--- a/src/options.hpp
+++ b/src/options.hpp
@@ -27,7 +27,6 @@ extern bool_ disturb_detect;
extern bool_ disturb_state;
extern bool_ disturb_minor;
extern bool_ disturb_other;
-extern bool_ alert_failure;
extern bool_ last_words;
extern bool_ small_levels;
extern bool_ empty_levels;
diff --git a/src/tables.cc b/src/tables.cc
index 340919aa..b48a2565 100644
--- a/src/tables.cc
+++ b/src/tables.cc
@@ -1313,9 +1313,6 @@ option_type option_info[] =
{ &disturb_other, FALSE, 2, 9,
"disturb_other", "Disturb whenever random things happen" },
- { &alert_failure, FALSE, 2, 11,
- "alert_failure", "Alert user to various failures" },
-
{ &last_words, TRUE, 2, 12,
"last_words", "Get last words when the character dies" },
diff --git a/src/util.cc b/src/util.cc
index f5b3e09c..f4f6c64e 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -3499,10 +3499,6 @@ bool_ prefix(cptr s, cptr t)
/* Paranoia */
if (!s || !t)
{
- if (alert_failure)
- {
- message_add("prefix() called with null argument!", TERM_RED);
- }
return FALSE;
}