From 393865e128bbe60c5fc69c2ed7a57cb961215724 Mon Sep 17 00:00:00 2001 From: nothere Date: Fri, 11 Jul 2003 04:28:51 +0000 Subject: [PATCH] =?utf8?q?MP=E6=93=8D=E4=BD=9C=E3=81=8C=E8=A1=8C=E3=82=8F?= =?utf8?q?=E3=82=8C=E3=81=9F=E5=BE=8C=E3=81=AB=E5=86=8D=E6=8F=8F=E7=94=BB?= =?utf8?q?=E3=81=8C=E5=BF=85=E8=A6=81=E3=81=AA=E9=83=A8=E5=88=86=E3=81=AE?= =?utf8?q?=E4=BF=AE=E6=AD=A3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/dungeon.c | 6 ++++++ src/melee1.c | 3 +++ src/racial.c | 13 +++++++++++++ src/spells3.c | 3 +++ 4 files changed, 25 insertions(+) diff --git a/src/dungeon.c b/src/dungeon.c index e44c969b6..a75121b5c 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -3681,6 +3681,9 @@ msg_print("̵Ũ hp_player(healing); p_ptr->csp -= healing; + + /* Redraw mana */ + p_ptr->redraw |= (PR_MANA); } } if ((p_ptr->muta2 & MUT2_HP_TO_SP) && !p_ptr->anti_magic && @@ -3698,6 +3701,9 @@ msg_print("̵Ũ } p_ptr->csp += healing; + + /* Redraw mana */ + p_ptr->redraw |= (PR_MANA); #ifdef JP take_hit(DAMAGE_LOSELIFE, healing, "Ƭ¤Ë¾º¤Ã¤¿·ì", -1); #else diff --git a/src/melee1.c b/src/melee1.c index aa54f3362..d03721c24 100644 --- a/src/melee1.c +++ b/src/melee1.c @@ -2157,6 +2157,9 @@ msg_format("%^s #endif py_attack(m_ptr->fy, m_ptr->fx, HISSATSU_COUNTER); fear = FALSE; + + /* Redraw mana */ + p_ptr->redraw |= (PR_MANA); } /* Blink away */ diff --git a/src/racial.c b/src/racial.c index 0cd11610d..6308d93bf 100644 --- a/src/racial.c +++ b/src/racial.c @@ -974,6 +974,10 @@ static bool cmd_racial_power_aux(s32b command) msg_print("You failed to convert."); #endif } + + /* Redraw mana and hp */ + p_ptr->redraw |= (PR_HP | PR_MANA); + break; } case CLASS_CHAOS_WARRIOR: @@ -1071,6 +1075,9 @@ static bool cmd_racial_power_aux(s32b command) p_ptr->csp = p_ptr->msp; p_ptr->csp_frac = 0; } + + /* Redraw mana */ + p_ptr->redraw |= (PR_MANA); break; } case CLASS_TOURIST: @@ -1168,6 +1175,9 @@ static bool cmd_racial_power_aux(s32b command) p_ptr->csp = max_csp; p_ptr->csp_frac = 0; } + + /* Redraw mana */ + p_ptr->redraw |= (PR_MANA); } else if (command == -4) { @@ -1316,6 +1326,9 @@ static bool cmd_racial_power_aux(s32b command) p_ptr->csp = p_ptr->msp; p_ptr->csp_frac = 0; } + + /* Redraw mana */ + p_ptr->redraw |= (PR_MANA); } else { diff --git a/src/spells3.c b/src/spells3.c index f2ec12ca2..35f25b746 100644 --- a/src/spells3.c +++ b/src/spells3.c @@ -6138,6 +6138,9 @@ msg_format(" p_ptr->csp = p_ptr->msp; } + /* Redraw mana and hp */ + p_ptr->redraw |= (PR_MANA); + p_ptr->notice |= (PN_COMBINE | PN_REORDER); p_ptr->window |= (PW_INVEN); -- 2.11.0