diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 06:50:06 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-06-26 06:50:06 +0200 |
commit | ca71ccff098e4eec97480d2a08773a06629cc66e (patch) | |
tree | 631fad99f61bc6bdcd4ee516845a7d3791bc598d /src/melee1.cc | |
parent | 1f8b86786fd33ee3cbdc62bdf2f129dba793b429 (diff) |
Simplify PR_* redraw code and remove direct references to Term members
Diffstat (limited to 'src/melee1.cc')
-rw-r--r-- | src/melee1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/melee1.cc b/src/melee1.cc index cc0f8ee3..59c6a9a3 100644 --- a/src/melee1.cc +++ b/src/melee1.cc @@ -1955,7 +1955,7 @@ bool_ make_attack_normal(int m_idx, byte divis) if (m_ptr->hp > m_ptr->maxhp) m_ptr->hp = m_ptr->maxhp; /* Redraw (later) if needed */ - if (health_who == m_idx) p_ptr->redraw |= (PR_HEALTH); + if (health_who == m_idx) p_ptr->redraw |= (PR_FRAME); /* Uncharge */ o_ptr->pval = 0; @@ -2036,7 +2036,7 @@ bool_ make_attack_normal(int m_idx, byte divis) } /* Redraw gold */ - p_ptr->redraw |= (PR_GOLD); + p_ptr->redraw |= (PR_FRAME); /* Window stuff */ p_ptr->window |= (PW_PLAYER); |