OSDN Git Service

[Refactor] #38997 set_stun(), set_oppose_pois() に player_type * 引数を追加.
[hengband/hengband.git] / src / chest.c
index 3ad2462..c75f624 100644 (file)
@@ -290,7 +290,7 @@ void chest_trap(POSITION y, POSITION x, OBJECT_IDX o_idx)
                                                (void)set_paralyzed(p_ptr, p_ptr->paralyzed + 2 +
                                                        randint0(6));
                                        else
-                                               (void)set_stun(p_ptr->stun + 10 +
+                                               (void)set_stun(p_ptr, p_ptr->stun + 10 +
                                                        randint0(100));
                                }
                                else if (one_in_(3)) apply_disenchant(0);