From e35a7e7d47c4a772cac5d99bdef29ee761b10b6c Mon Sep 17 00:00:00 2001 From: Deskull Date: Wed, 28 Nov 2018 22:10:43 +0900 Subject: [PATCH] =?utf8?q?#37353=20[Fix]=20=E3=82=B3=E3=83=A1=E3=83=B3?= =?utf8?q?=E3=83=88=E6=95=B4=E7=90=86=E3=81=AE=E3=83=9F=E3=82=B9=E3=82=92?= =?utf8?q?=E4=BF=AE=E6=AD=A3=E3=80=82=20/=20Fix=20mistake=20of=20comment?= =?utf8?q?=20refactoring.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd-activate.c | 12 ++++-------- src/cmd4.c | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/cmd-activate.c b/src/cmd-activate.c index 4ab06b788..d945be47d 100644 --- a/src/cmd-activate.c +++ b/src/cmd-activate.c @@ -1485,12 +1485,10 @@ bool activate_artifact(object_type *o_ptr) msg_print(_("石を制御できない!", "You are too weak to control the stone!")); /* Hack -- Bypass free action */ - (void)set_paralyzed(p_ptr->paralyzed + - randint1(5 * oops + 1)); + (void)set_paralyzed(p_ptr->paralyzed + randint1(5 * oops + 1)); /* Confusing. */ - (void)set_confused(p_ptr->confused + - randint1(5 * oops + 1)); + (void)set_confused(p_ptr->confused + randint1(5 * oops + 1)); } /* Redraw mana */ @@ -1498,12 +1496,10 @@ bool activate_artifact(object_type *o_ptr) } take_hit(DAMAGE_LOSELIFE, damroll(1, 12), _("危険な秘密", "perilous secrets"), -1); /* Confusing. */ - if (one_in_(5)) (void)set_confused(p_ptr->confused + - randint1(10)); + if (one_in_(5)) (void)set_confused(p_ptr->confused + randint1(10)); /* Exercise a little care... */ - if (one_in_(20)) - take_hit(DAMAGE_LOSELIFE, damroll(4, 10), _("危険な秘密", "perilous secrets"), -1); + if (one_in_(20)) take_hit(DAMAGE_LOSELIFE, damroll(4, 10), _("危険な秘密", "perilous secrets"), -1); break; } diff --git a/src/cmd4.c b/src/cmd4.c index 0ec869042..9769a61df 100644 --- a/src/cmd4.c +++ b/src/cmd4.c @@ -8428,7 +8428,7 @@ static void do_cmd_knowledge_autopick(void) { tmp = _("拾う", "Pickup"); } - { + else { tmp = _("確認", "Query"); } -- 2.11.0