summaryrefslogtreecommitdiff
path: root/src/wizard2.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/wizard2.c
parent30b5c52fc1370065bed0ba0a4b22329556fb0592 (diff)
Remove unused parameter from scatter() function.
Diffstat (limited to 'src/wizard2.c')
-rw-r--r--src/wizard2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wizard2.c b/src/wizard2.c
index e8a13b45..a19b72e0 100644
--- a/src/wizard2.c
+++ b/src/wizard2.c
@@ -231,7 +231,7 @@ static void do_cmd_summon_horde()
while (--attempts)
{
- scatter(&wy, &wx, p_ptr->py, p_ptr->px, 3, 0);
+ scatter(&wy, &wx, p_ptr->py, p_ptr->px, 3);
if (cave_naked_bold(wy, wx)) break;
}
@@ -1521,7 +1521,7 @@ static void do_cmd_wiz_named(int r_idx, bool_ slp)
int d = 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 grids */
if (!cave_empty_bold(y, x)) continue;
@@ -1556,7 +1556,7 @@ void do_cmd_wiz_named_friendly(int r_idx, bool_ slp)
int d = 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 grids */
if (!cave_empty_bold(y, x)) continue;