• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision8362c457d5c590346018e7053422a3b0efd1230e (tree)
Time2019-08-12 23:16:24
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39076 冗長なコメントを削除.

Change Summary

Incremental Difference

--- a/src/cmd-hissatsu.c
+++ b/src/cmd-hissatsu.c
@@ -76,10 +76,7 @@ static int get_hissatsu_power(SPELL_IDX *sn)
7676 }
7777 }
7878
79- /* Nothing chosen yet */
8079 flag = FALSE;
81-
82- /* No redraw yet */
8380 redraw = FALSE;
8481
8582 for (i = 0; i < 32; i++)
--- a/src/cmd-mane.c
+++ b/src/cmd-mane.c
@@ -117,10 +117,7 @@ static int get_mane_power(int *sn, bool baigaesi)
117117 /* Assume cancelled */
118118 *sn = (-1);
119119
120- /* Nothing chosen yet */
121120 flag = FALSE;
122-
123- /* No redraw yet */
124121 redraw = FALSE;
125122
126123 num = p_ptr->mane_num;
--- a/src/cmd-pet.c
+++ b/src/cmd-pet.c
@@ -657,10 +657,7 @@ void do_cmd_pet(void)
657657
658658 if (!(repeat_pull(&i) && (i >= 0) && (i < num)))
659659 {
660- /* Nothing chosen yet */
661660 flag = FALSE;
662-
663- /* No redraw yet */
664661 redraw = FALSE;
665662
666663 if (use_menu)
--- a/src/cmd-smith.c
+++ b/src/cmd-smith.c
@@ -878,11 +878,7 @@ static void add_essence(ESSENCE_IDX mode)
878878
879879 if (!repeat_pull(&i) || i < 0 || i >= max_num)
880880 {
881-
882- /* Nothing chosen yet */
883881 flag = FALSE;
884-
885- /* No redraw yet */
886882 redraw = FALSE;
887883
888884 (void)strnfmt(out_val, 78, _("('*'で一覧, ESCで中断) どの能力を付加しますか?", "(*=List, ESC=exit) Add which ability? "));
--- a/src/cmd-spell.c
+++ b/src/cmd-spell.c
@@ -378,10 +378,7 @@ static int get_spell(SPELL_IDX *sn, concptr prompt, OBJECT_SUBTYPE_VALUE sval, b
378378 /* Assume cancelled */
379379 *sn = (-1);
380380
381- /* Nothing chosen yet */
382381 flag = FALSE;
383-
384- /* No redraw yet */
385382 redraw = FALSE;
386383
387384 p_ptr->window |= (PW_SPELL);
--- a/src/mind.c
+++ b/src/mind.c
@@ -771,11 +771,8 @@ static bool_hack get_mind_power(SPELL_IDX *sn, bool only_browse)
771771 }
772772 }
773773
774- /* Nothing chosen yet */
775- flag = FALSE;
776-
777- /* No redraw yet */
778- redraw = FALSE;
774+ flag = FALSE;
775+ redraw = FALSE;
779776
780777 for (i = 0; i < MAX_MIND_POWERS; i++)
781778 {
--- a/src/mspells3.c
+++ b/src/mspells3.c
@@ -477,10 +477,7 @@ static bool get_learned_power(SPELL_IDX *sn)
477477 /* Assume cancelled */
478478 *sn = (-1);
479479
480- /* Nothing chosen yet */
481480 flag = FALSE;
482-
483- /* No redraw yet */
484481 redraw = FALSE;
485482
486483 /* Get the spell, if available */
--- a/src/racial.c
+++ b/src/racial.c
@@ -1805,10 +1805,7 @@ void do_cmd_racial_power(void)
18051805 }
18061806 }
18071807
1808- /* Nothing chosen yet */
18091808 flag = FALSE;
1810-
1811- /* No redraw yet */
18121809 redraw = FALSE;
18131810
18141811 (void) strnfmt(out_val, 78,
--- a/src/snipe.c
+++ b/src/snipe.c
@@ -242,10 +242,7 @@ static int get_snipe_power(COMMAND_CODE *sn, bool only_browse)
242242 }
243243 }
244244
245- /* Nothing chosen yet */
246245 flag = FALSE;
247-
248- /* No redraw yet */
249246 redraw = FALSE;
250247
251248 for (i = 0; i < MAX_SNIPE_POWERS; i++)
Show on old repository browser