OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
[hengband/hengband.git] / src / cmd-item.c
index da56f8b..dab81e0 100644 (file)
@@ -104,8 +104,6 @@ void do_cmd_equip(void)
 
        /* Note that we are in "equipment" mode */
        if (easy_floor) command_wrk = (USE_EQUIP);
-
-       /* Save the screen */
        screen_save();
 
        /* Hack -- show empty slots */
@@ -134,8 +132,6 @@ void do_cmd_equip(void)
 
        /* Get a new command */
        command_new = inkey();
-
-       /* Restore the screen */
        screen_load();
 
 
@@ -811,7 +807,7 @@ void do_cmd_destroy(void)
                /* HACK : Add the line to message buffer */
                message_add(out_val);
                p_ptr->window |= (PW_MESSAGE);
-               window_stuff();
+               handle_stuff();
 
                /* Get an acceptable answer */
                while (TRUE)
@@ -1415,10 +1411,8 @@ void do_cmd_target(void)
  */
 void do_cmd_look(void)
 {
-       /*TEST*/
        p_ptr->window |= PW_MONSTER_LIST;
-       window_stuff();
-       /*TEST*/
+       handle_stuff();
 
        /* Look around */
        if (target_set(TARGET_LOOK))
@@ -1849,7 +1843,6 @@ void do_cmd_query_symbol(void)
                        /* Recall */
                        if (recall)
                        {
-                               /* Save the screen */
                                screen_save();
 
                                /* Recall on screen */