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/xtra2.c | |
parent | 30b5c52fc1370065bed0ba0a4b22329556fb0592 (diff) |
Remove unused parameter from scatter() function.
Diffstat (limited to 'src/xtra2.c')
-rw-r--r-- | src/xtra2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xtra2.c b/src/xtra2.c index 4c52ad4a..70978e47 100644 --- a/src/xtra2.c +++ b/src/xtra2.c @@ -87,7 +87,7 @@ bool_ set_parasite(int v, int r) do { - scatter(&wy, &wx, p_ptr->py, p_ptr->px, 10, 0); + scatter(&wy, &wx, p_ptr->py, p_ptr->px, 10); } while (!(in_bounds(wy, wx) && cave_floor_bold(wy, wx)) && --attempts); @@ -2504,7 +2504,7 @@ void monster_death(int m_idx) do { - scatter(&wy, &wx, p_ptr->py, p_ptr->px, 20, 0); + scatter(&wy, &wx, p_ptr->py, p_ptr->px, 20); } while (!(in_bounds(wy, wx) && cave_floor_bold(wy, wx)) && --attempts); @@ -2546,7 +2546,7 @@ void monster_death(int m_idx) do { - scatter(&wy, &wx, p_ptr->py, p_ptr->px, 3, 0); + scatter(&wy, &wx, p_ptr->py, p_ptr->px, 3); } while (!(in_bounds(wy, wx) && cave_floor_bold(wy, wx)) && --attempts); @@ -2750,7 +2750,7 @@ void monster_death(int m_idx) do { - scatter(&yy, &xx, y, x, 6, 0); + scatter(&yy, &xx, y, x, 6); } while (!(in_bounds(yy, xx) && cave_floor_bold(yy, xx)) && --attempts); @@ -2904,7 +2904,7 @@ void monster_death(int m_idx) int d = 1; /* Pick a location */ - scatter(&ny, &nx, y, x, d, 0); + scatter(&ny, &nx, y, x, d); /* Stagger */ y = ny; @@ -6032,7 +6032,7 @@ void make_wish(void) do { - scatter(&wy, &wx, p_ptr->py, p_ptr->px, 5, 0); + scatter(&wy, &wx, p_ptr->py, p_ptr->px, 5); } while (!(in_bounds(wy, wx) && cave_floor_bold(wy, wx)) && --attempts); |