OSDN Git Service

[Refactor] #37353 コメント整理 / Refactor comments.
[hengband/hengband.git] / src / wizard2.c
index 0cb5f73..94514ec 100644 (file)
@@ -74,8 +74,6 @@ void do_cmd_rerate(bool display)
        p_ptr->redraw |= (PR_HP);
 
        p_ptr->window |= (PW_PLAYER);
-
-       /* Handle stuff */
        handle_stuff();
 
        if (display)
@@ -893,8 +891,6 @@ static void wiz_reroll_item(object_type *o_ptr)
        /* Hack -- leave artifacts alone */
        if (object_is_artifact(o_ptr)) return;
 
-
-       /* Get local object */
        q_ptr = &forge;
 
        /* Copy the object */
@@ -1098,23 +1094,15 @@ static void wiz_statistics(object_type *o_ptr)
                                /* Allow interupt */
                                if (inkey())
                                {
-                                       /* Flush */
                                        flush();
-
-                                       /* Stop rolling */
-                                       break;
+                                       break; // stop rolling
                                }
 
                                /* Dump the stats */
                                prt(format(q, i, correct, matches, better, worse, other), 0, 0);
                                Term_fresh();
                        }
-
-
-                       /* Get local object */
                        q_ptr = &forge;
-
-                       /* Wipe the object */
                        object_wipe(q_ptr);
 
                        /* Create an object */
@@ -1302,8 +1290,6 @@ static void do_cmd_wiz_play(void)
        /* Save the screen */
        screen_save();
 
-
-       /* Get local object */
        q_ptr = &forge;
 
        /* Copy object */
@@ -1441,8 +1427,6 @@ static void wiz_create_item(void)
                        return;
                }
        }
-
-       /* Get local object */
        q_ptr = &forge;
 
        /* Create the item */
@@ -1575,7 +1559,6 @@ static void do_cmd_wiz_learn(void)
                /* Induce awareness */
                if (k_ptr->level <= command_arg)
                {
-                       /* Get local object */
                        q_ptr = &forge;
 
                        /* Prepare object */
@@ -1758,10 +1741,7 @@ static void do_cmd_wiz_create_feature(void)
        else if (have_flag(f_ptr->flags, FF_MIRROR))
                c_ptr->info |= (CAVE_GLOW | CAVE_OBJECT);
 
-       /* Notice */
        note_spot(y, x);
-
-       /* Redraw */
        lite_spot(y, x);
 
        /* Update some things */