From 71a820e7298a670c13bd68cb3e6f2274a4dc3ba9 Mon Sep 17 00:00:00 2001 From: Bardur Arantsson Date: Sat, 8 Oct 2016 11:38:29 +0200 Subject: Remove unused parameter from disturb() --- src/cave.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cave.cc') diff --git a/src/cave.cc b/src/cave.cc index 1ef32839..4e804d81 100644 --- a/src/cave.cc +++ b/src/cave.cc @@ -4330,7 +4330,7 @@ void object_track(object_type *o_ptr) * * All disturbance cancels repeated commands, resting, and running. */ -void disturb(int) +void disturb() { /* Cancel auto-commands */ /* command_new = 0; */ @@ -4381,7 +4381,7 @@ void disturb_on_state() { if (options->disturb_state) { - disturb(0); + disturb(); } } @@ -4394,7 +4394,7 @@ void disturb_on_other() { if (options->disturb_other) { - disturb(1); + disturb(); } } -- cgit v1.2.3