OSDN Git Service

[Refactor] #38997 scatter() に player_type * 引数を追加 / Added player_type * argument...
[hengband/hengband.git] / src / wizard2.c
index c09d884..cbd7295 100644 (file)
@@ -196,7 +196,7 @@ static void do_cmd_summon_horde(player_type *caster_ptr)
 
        while (--attempts)
        {
-               scatter(&wy, &wx, caster_ptr->y, caster_ptr->x, 3, 0);
+               scatter(caster_ptr->current_floor_ptr, &wy, &wx, caster_ptr->y, caster_ptr->x, 3, 0);
                if (cave_empty_bold(caster_ptr->current_floor_ptr, wy, wx)) break;
        }