OSDN Git Service

[Refactor] #38997 find_space() に player_type * 引数を追加. / Add player_type * argument...
[hengband/hengband.git] / src / rooms-city.c
index 920a18f..51cde0f 100644 (file)
@@ -234,7 +234,7 @@ bool build_type16(floor_type *floor_ptr)
        }
 
        /* Find and reserve some space in the dungeon.  Get center of room. */
-       if (!find_space(&yval, &xval, town_hgt + 4, town_wid + 4))
+       if (!find_space(floor_ptr, &yval, &xval, town_hgt + 4, town_wid + 4))
        {
                /* Free buildings array */
                C_KILL(ugbldg, n, ugbldg_type);