OSDN Git Service

[Refactor] #38997 delete_monster_idx() にplayer_type * 引数を追加 / Added player_type ...
[hengband/hengband.git] / src / mutation.c
index ab207c3..b60d0d6 100644 (file)
@@ -2323,7 +2323,7 @@ bool exe_mutation_power(player_type *creature_ptr, int power)
                                                exe_write_diary(creature_ptr, DIARY_NAMED_PET, RECORD_NAMED_PET_GENOCIDE, m_name);
                                        }
                                        /* Delete the monster, rather than killing it. */
-                                       delete_monster_idx(g_ptr->m_idx);
+                                       delete_monster_idx(creature_ptr, g_ptr->m_idx);
                                        msg_print(_("その邪悪なモンスターは硫黄臭い煙とともに消え去った!", "The evil creature vanishes in a puff of sulfurous smoke!"));
 
                                }