OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Thu, 24 Jan 2019 15:02:36 +0000 (00:02 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Thu, 24 Jan 2019 15:02:36 +0000 (00:02 +0900)
src/bldg.c
src/cmd-item.c
src/effects.c
src/main-win.c
src/view-mainwindow.c

index b3338bf..8864d0a 100644 (file)
@@ -3748,7 +3748,6 @@ static bool research_mon(void)
                                   "Enter character to be identified(^A:All,^U:Uniqs,^N:Non uniqs,^M:Name): "), &sym, FALSE)) 
 
        {
-               /* Restore */
                screen_load();
 
                return (FALSE);
@@ -3782,8 +3781,6 @@ static bool research_mon(void)
                if (!get_string(_("名前(英語の場合小文字で可)", "Enter name:"),temp, 70))
                {
                        temp[0]=0;
-
-                       /* Restore */
                        screen_load();
 
                        return FALSE;
@@ -3802,7 +3799,6 @@ static bool research_mon(void)
        /* Display the result */
        prt(buf, 16, 10);
 
-
        /* Allocate the "who" array */
        C_MAKE(who, max_r_idx, MONRACE_IDX);
 
@@ -3862,8 +3858,6 @@ static bool research_mon(void)
        {
                /* Free the "who" array */
                C_KILL(who, max_r_idx, MONRACE_IDX);
-
-               /* Restore */
                screen_load();
 
                return (FALSE);
@@ -3968,8 +3962,6 @@ static bool research_mon(void)
 
        /* Free the "who" array */
        C_KILL(who, max_r_idx, MONRACE_IDX);
-
-       /* Restore */
        screen_load();
 
        return (!notpicked);
index 0f06ca4..cf5e6b7 100644 (file)
@@ -1610,8 +1610,6 @@ void do_cmd_query_symbol(void)
 
        /* Query */
        query = inkey();
-
-       /* Restore */
        prt(buf, 0, 0);
 
        why = 2;
@@ -1688,7 +1686,6 @@ void do_cmd_query_symbol(void)
                        /* Unrecall */
                        if (recall)
                        {
-                               /* Restore */
                                screen_load();
                        }
 
index cc4025d..3323049 100644 (file)
@@ -3525,7 +3525,6 @@ bool res_stat(int stat)
        /* Restore if needed */
        if (p_ptr->stat_cur[stat] != p_ptr->stat_max[stat])
        {
-               /* Restore */
                p_ptr->stat_cur[stat] = p_ptr->stat_max[stat];
                p_ptr->update |= (PU_BONUS);
 
index 555e331..f56c787 100644 (file)
@@ -2286,8 +2286,6 @@ static errr Term_xtra_win_react(void)
 \r
                        /* Redraw the contents */\r
                        Term_redraw();\r
-\r
-                       /* Restore */\r
                        Term_activate(old);\r
                }\r
        }\r
index 123195c..365fc67 100644 (file)
@@ -1619,8 +1619,6 @@ static void fix_inven(void)
                /* Display inventory */
                display_inven();
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1776,8 +1774,6 @@ static void fix_monster_list(void)
                target_set_prepare_look();//モンスター一覧を生成,ソート
                print_monster_list(0, 0, h);
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1810,8 +1806,6 @@ static void fix_equip(void)
                /* Display equipment */
                display_equip();
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1843,8 +1837,6 @@ static void fix_spell(void)
                /* Display spell list */
                display_spell_list();
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1876,8 +1868,6 @@ static void fix_player(void)
                update_playtime();
                display_player(0);
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1923,8 +1913,6 @@ static void fix_message(void)
                        Term_erase(x, y, 255);
                }
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1966,8 +1954,6 @@ static void fix_overhead(void)
                        display_map(&cy, &cx);
                        Term_fresh();
                }
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -1999,8 +1985,6 @@ static void fix_dungeon(void)
                /* Redraw dungeon view */
                display_dungeon();
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -2032,8 +2016,6 @@ static void fix_monster(void)
                /* Display monster race info */
                if (p_ptr->monster_race_idx) display_roff(p_ptr->monster_race_idx);
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }
@@ -2065,8 +2047,6 @@ static void fix_object(void)
                /* Display monster race info */
                if (p_ptr->object_kind_idx) display_koff(p_ptr->object_kind_idx);
                Term_fresh();
-
-               /* Restore */
                Term_activate(old);
        }
 }