OSDN Git Service

[Refactor] #38997 take_hit() に player_type * 引数を追加.
[hengband/hengband.git] / src / racial.c
index fd78be6..4965919 100644 (file)
@@ -2026,7 +2026,7 @@ if (!repeat_pull(&i) || i<0 || i>=num) {
                        {
                                actual_racial_cost -= p_ptr->csp;
                                p_ptr->csp = 0;
-                               take_hit(DAMAGE_USELIFE, actual_racial_cost, _("過度の集中", "concentrating too hard"), -1);
+                               take_hit(p_ptr, DAMAGE_USELIFE, actual_racial_cost, _("過度の集中", "concentrating too hard"), -1);
                        }
                        else p_ptr->csp -= actual_racial_cost;