OSDN Git Service

[Refactor] #38997 get_monster_hook() にplayer_type * 引数を追加 / Added player_type * argum...
[hengband/hengband.git] / src / wild.c
index 235ba55..f3f0d9c 100644 (file)
@@ -477,7 +477,7 @@ void wilderness_gen(player_type *creature_ptr)
        process_dungeon_file(creature_ptr, "w_info.txt", 0, 0, current_world_ptr->max_wild_y, current_world_ptr->max_wild_x);
        POSITION x = creature_ptr->wilderness_x;
        POSITION y = creature_ptr->wilderness_y;
-       get_mon_num_prep(get_monster_hook(), NULL);
+       get_mon_num_prep(get_monster_hook(creature_ptr), NULL);
 
        /* North border */
        generate_area(creature_ptr, y - 1, x, TRUE, FALSE);