diff options
author | Bardur Arantsson <bardur@scientician.net> | 2012-02-18 18:37:22 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2012-03-29 20:57:29 +0200 |
commit | c4928a52cb100f696f2ff54d27a87f2ff2ae37c2 (patch) | |
tree | a6b16da01340194b33d67292214d4337cf43187a /src/cave.c | |
parent | 30b5c52fc1370065bed0ba0a4b22329556fb0592 (diff) |
Remove unused parameter from scatter() function.
Diffstat (limited to 'src/cave.c')
-rw-r--r-- | src/cave.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) { |