From 3d43bee47e016266f4e579c2cda73707e47027a0 Mon Sep 17 00:00:00 2001 From: Habu Date: Sun, 19 Apr 2020 23:56:52 +0900 Subject: [PATCH] =?utf8?q?[fix]=20=E7=AA=92=E6=81=AF=E6=94=BB=E6=92=83?= =?utf8?q?=E3=81=AE=E7=99=BA=E5=8B=95=E3=81=AE=E3=83=90=E3=82=B0=E3=82=92?= =?utf8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ランダムアーティファクトの窒息攻撃を発動して効果が無かった時、意図しないswitch-case文のfall throughにより衰弱の矢の効果が発動するバグを修正。 --- src/cmd/cmd-activate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/cmd-activate.c b/src/cmd/cmd-activate.c index e319c5920..f77bf76ac 100644 --- a/src/cmd/cmd-activate.c +++ b/src/cmd/cmd-activate.c @@ -850,8 +850,8 @@ bool activate_artifact(player_type *user_ptr, object_type *o_ptr) { msg_format(_("あなたは%sに敵を締め殺すよう命じた。", "You order the %s to strangle your opponent."), name); if (!get_aim_dir(user_ptr, &dir)) return FALSE; - if (hypodynamic_bolt(user_ptr, dir, 100)) - break; + hypodynamic_bolt(user_ptr, dir, 100); + break; } case ACT_HYPODYNAMIA_2: -- 2.11.0