OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Sun, 30 Dec 2018 06:30:23 +0000 (15:30 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Sun, 30 Dec 2018 06:30:23 +0000 (15:30 +0900)
src/cmd-item.c
src/monster2.c
src/store.c
src/xtra2.c

index 11d3b9c..6551a87 100644 (file)
@@ -293,15 +293,12 @@ void do_cmd_wield(void)
        /* Prevent wielding into a cursed slot */
        if (object_is_cursed(&inventory[slot]))
        {
-               /* Describe it */
                object_desc(o_name, &inventory[slot], (OD_OMIT_PREFIX | OD_NAME_ONLY));
 
 #ifdef JP
-               msg_format("%s%sは呪われているようだ。",
-                          describe_use(slot) , o_name );
+               msg_format("%s%sは呪われているようだ。", describe_use(slot) , o_name );
 #else
-               msg_format("The %s you are %s appears to be cursed.",
-                          o_name, describe_use(slot));
+               msg_format("The %s you are %s appears to be cursed.", o_name, describe_use(slot));
 #endif
 
                /* Cancel the command */
@@ -315,7 +312,6 @@ void do_cmd_wield(void)
        {
                char dummy[MAX_NLEN+80];
 
-               /* Describe it */
                object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
                sprintf(dummy, _("本当に%s{呪われている}を使いますか?", "Really use the %s {cursed}? "), o_name);
 
@@ -326,7 +322,6 @@ void do_cmd_wield(void)
        {
                char dummy[MAX_NLEN+80];
 
-               /* Describe it */
                object_desc(o_name, o_ptr, (OD_OMIT_PREFIX | OD_NAME_ONLY));
 
 #ifdef JP
index 0ced3fe..1dbb5a2 100644 (file)
@@ -1994,7 +1994,6 @@ void sanity_blast(monster_type *m_ptr, bool necro)
 
                get_mon_num_prep(NULL, NULL);
 
-               /* Describe it */
 #ifndef JP
                if (!(r_ptr->flags1 & RF1_UNIQUE))
                        sprintf(m_name, "%s %s", (is_a_vowel(desc[0]) ? "an" : "a"), desc);
index c394635..640632d 100644 (file)
@@ -4884,10 +4884,7 @@ void do_cmd_store(void)
 
                                q_ptr = &forge;
 
-                               /* Grab a copy of the item */
                                object_copy(q_ptr, o_ptr);
-
-                               /* Describe it */
                                object_desc(o_name, q_ptr, 0);
 
 #ifdef JP
index 104ba8c..c10750e 100644 (file)
@@ -2992,7 +2992,6 @@ static char target_set_aux(POSITION y, POSITION x, BIT_FLAGS mode, cptr info)
                /* Acquire next object */
                next_o_idx = o_ptr->next_o_idx;
 
-               /* Describe it */
                if (o_ptr->marked & OM_FOUND)
                {
                        char o_name[MAX_NLEN];