summaryrefslogtreecommitdiff
path: root/src/cave.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cave.c')
-rw-r--r--src/cave.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cave.c b/src/cave.c
index 17dd9c96..d23fc44c 100644
--- a/src/cave.c
+++ b/src/cave.c
@@ -4846,15 +4846,11 @@ bool_ projectable(int y1, int x1, int y2, int x2)
*
* Currently the "m" parameter is unused.
*/
-void scatter(int *yp, int *xp, int y, int x, int d, int m)
+void scatter(int *yp, int *xp, int y, int x, int d)
{
int nx, ny;
int attempts_left = 5000;
- /* Unused */
- m = m;
-
-
/* Pick a location */
while (--attempts_left)
{