OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734e785
)
[fix] 窒息攻撃の発動のバグを修正
author
Habu
<habu@users.sourceforge.jp>
Sun, 19 Apr 2020 14:56:52 +0000
(23:56 +0900)
committer
Habu
<habu@users.sourceforge.jp>
Sun, 19 Apr 2020 14:56:52 +0000
(23:56 +0900)
ランダムアーティファクトの窒息攻撃を発動して効果が無かった時、意図しないswitch-case文のfall throughにより衰弱の矢の効果が発動するバグを修正。
src/cmd/cmd-activate.c
patch
|
blob
|
history
diff --git
a/src/cmd/cmd-activate.c
b/src/cmd/cmd-activate.c
index
e319c59
..
f77bf76
100644
(file)
--- 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: