summaryrefslogtreecommitdiff
path: root/src/cave.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cave.cc')
-rw-r--r--src/cave.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cave.cc b/src/cave.cc
index b9cc4fe7..22ec8d39 100644
--- a/src/cave.cc
+++ b/src/cave.cc
@@ -4473,6 +4473,19 @@ void disturb_on_state()
/*
+ * Disturb if option 'disturb_other' is set.
+ */
+void disturb_on_other()
+{
+ if (disturb_other)
+ {
+ disturb(1);
+ }
+}
+
+
+
+/*
* Return the index of the random quest on this level
* (or zero)
*/