OSDN Git Service

[Refactor] #38997 place_trees()の引数修正 / Fixed argument place_trees() from floor_type...
[hengband/hengband.git] / src / floor-generate.c
index bdc76f8..a0ab093 100644 (file)
@@ -703,7 +703,7 @@ static bool cave_gen(player_type *player_ptr)
                {
                        while (one_in_(DUN_MOS_DEN))
                        {
-                               place_trees(floor_ptr, randint1(floor_ptr->width - 2), randint1(floor_ptr->height - 2));
+                               place_trees(player_ptr, randint1(floor_ptr->width - 2), randint1(floor_ptr->height - 2));
                        }
                }