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/traps.cc | |
parent | 1f8b86786fd33ee3cbdc62bdf2f129dba793b429 (diff) |
Simplify PR_* redraw code and remove direct references to Term members
Diffstat (limited to 'src/traps.cc')
-rw-r--r-- | src/traps.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/traps.cc b/src/traps.cc index bb56bb20..716e8bd6 100644 --- a/src/traps.cc +++ b/src/traps.cc @@ -346,7 +346,7 @@ static bool_ player_handle_trap_of_walls(void) p_ptr->update |= (PU_DISTANCE); /* Update the health bar */ - p_ptr->redraw |= (PR_HEALTH); + p_ptr->redraw |= (PR_FRAME); /* Redraw map */ p_ptr->redraw |= (PR_MAP); @@ -868,7 +868,7 @@ bool_ player_activate_trap_type(s16b y, s16b x, object_type *i_ptr, s16b item) { p_ptr->csp = 0; p_ptr->csp_frac = 0; - p_ptr->redraw |= (PR_MANA); + p_ptr->redraw |= (PR_FRAME); msg_print("You sense a great loss."); ident = TRUE; } @@ -910,7 +910,7 @@ bool_ player_activate_trap_type(s16b y, s16b x, object_type *i_ptr, s16b item) msg_print("All of your coins were stolen!"); ident = TRUE; } - p_ptr->redraw |= (PR_GOLD); + p_ptr->redraw |= (PR_FRAME); break; } |