OSDN Git Service

[Refactor] #37353 コメント整理。 / Refactor comments.
authorDeskull <deskull@users.sourceforge.jp>
Thu, 7 Feb 2019 01:22:15 +0000 (10:22 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Thu, 7 Feb 2019 01:22:15 +0000 (10:22 +0900)
src/racial.c
src/spells2.c
src/spells3.c

index 7d6ff76..d5bfc9e 100644 (file)
@@ -2018,9 +2018,7 @@ if (!repeat_pull(&i) || i<0 || i>=num) {
                        }
                        else p_ptr->csp -= actual_racial_cost;
 
-                       /* Redraw mana and hp */
                        p_ptr->redraw |= (PR_HP | PR_MANA);
-
                        p_ptr->window |= (PW_PLAYER | PW_SPELL);
                }
        }
index d13c859..ad42fbe 100644 (file)
@@ -5052,7 +5052,6 @@ bool comvert_mp_to_hp(player_type *creature_ptr)
        {
                msg_print(_("変換に失敗した。", "You failed to convert."));
        }
-       /* Redraw mana and hp */
        creature_ptr->redraw |= (PR_HP | PR_MANA);
        return TRUE;
 }
index 4be2eb9..b4664c3 100644 (file)
@@ -4562,9 +4562,7 @@ bool eat_magic(int power)
                p_ptr->csp = p_ptr->msp;
        }
 
-       /* Redraw mana and hp */
        p_ptr->redraw |= (PR_MANA);
-
        p_ptr->update |= (PU_COMBINE | PU_REORDER);
        p_ptr->window |= (PW_INVEN);