summaryrefslogtreecommitdiff
path: root/src/melee1.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-06-26 06:50:06 +0200
committerBardur Arantsson <bardur@scientician.net>2014-06-26 06:50:06 +0200
commitca71ccff098e4eec97480d2a08773a06629cc66e (patch)
tree631fad99f61bc6bdcd4ee516845a7d3791bc598d /src/melee1.cc
parent1f8b86786fd33ee3cbdc62bdf2f129dba793b429 (diff)
Simplify PR_* redraw code and remove direct references to Term members
Diffstat (limited to 'src/melee1.cc')
-rw-r--r--src/melee1.cc4
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);