summaryrefslogtreecommitdiff
path: root/src/q_rand.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-02-18 18:37:22 +0100
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:57:29 +0200
commitc4928a52cb100f696f2ff54d27a87f2ff2ae37c2 (patch)
treea6b16da01340194b33d67292214d4337cf43187a /src/q_rand.c
parent30b5c52fc1370065bed0ba0a4b22329556fb0592 (diff)
Remove unused parameter from scatter() function.
Diffstat (limited to 'src/q_rand.c')
-rw-r--r--src/q_rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/q_rand.c b/src/q_rand.c
index 2c0898c4..84f7d3d3 100644
--- a/src/q_rand.c
+++ b/src/q_rand.c
@@ -167,7 +167,7 @@ void hero_death(s32b m_idx, s32b r_idx)
int d = (i / 15) + 1;
/* Pick a location */
- scatter(&y, &x, p_ptr->py, p_ptr->px, d, 0);
+ scatter(&y, &x, p_ptr->py, p_ptr->px, d);
/* Require "empty" floor grid */
if (!cave_empty_bold(y, x)) continue;