OSDN Git Service

[Refactor] #38997 get_mon_num_prep() とchoose_new_monster() にplayer_type * 引数追加 /...
[hengband/hengband.git] / src / object2.c
index cc3bf68..71524c3 100644 (file)
@@ -3516,7 +3516,7 @@ static void a_m_aux_4(player_type *owner_ptr, object_type *o_ptr, DEPTH level, i
                }
 
                /* Hack -- Remove the monster restriction */
-               get_mon_num_prep(item_monster_okay, NULL);
+               get_mon_num_prep(owner_ptr, item_monster_okay, NULL);
 
                /* Pick a random non-unique monster race */
                while (TRUE)