From 3decac239bca3880886497a373563606bc451a85 Mon Sep 17 00:00:00 2001 From: deskull Date: Thu, 9 Jan 2020 01:14:02 +0900 Subject: [PATCH] =?utf8?q?[Fix]=20#38997=20hit=5Ftrap()=20=E5=86=85?= =?utf8?q?=E5=A4=89=E6=95=B0=E5=8F=82=E7=85=A7=E4=BF=AE=E6=AD=A3=EF=BC=8E?= =?utf8?q?=20/=20Fix=20variable=20references=20in=20hit=5Ftrap().?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trap.c b/src/trap.c index 2f0c665e2..24c938595 100644 --- a/src/trap.c +++ b/src/trap.c @@ -653,7 +653,7 @@ void hit_trap(player_type *trapped_ptr, bool break_trap) msg_print(_("突然壁から水が溢れ出した!ピラニアがいる!", "Suddenly, the room is filled with water with piranhas!")); /* Water fills room */ - fire_ball_hide(p_ptr, GF_WATER_FLOW, 0, 1, 10); + fire_ball_hide(trapped_ptr, GF_WATER_FLOW, 0, 1, 10); /* Summon Piranhas */ num = 1 + trapped_ptr->current_floor_ptr->dun_level / 20; -- 2.11.0