OSDN Git Service

#37353 [Fix] コメント整理のミスを修正。 / Fix mistake of comment refactoring.
authorDeskull <deskull@users.sourceforge.jp>
Wed, 28 Nov 2018 13:10:43 +0000 (22:10 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Wed, 28 Nov 2018 13:10:43 +0000 (22:10 +0900)
src/cmd-activate.c
src/cmd4.c

index 4ab06b7..d945be4 100644 (file)
@@ -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;
        }
 
index 0ec8690..9769a61 100644 (file)
@@ -8428,7 +8428,7 @@ static void do_cmd_knowledge_autopick(void)
                {
                        tmp = _("拾う", "Pickup");
                }
-               {
+               else {
                        tmp = _("確認", "Query");
                }