summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-03-11 11:48:40 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-03-11 11:48:40 -0700
commit7c6fac94ecaacbd18e94734503d274641ebdf2f1 (patch)
tree9a0df6a086c90972f626aee5a66e15a6c82390a1 /src/map/pc.cpp
parent66d869880748632825ed57b3b94f0714664424ad (diff)
downloadtmwa-7c6fac94ecaacbd18e94734503d274641ebdf2f1.tar.gz
tmwa-7c6fac94ecaacbd18e94734503d274641ebdf2f1.tar.bz2
tmwa-7c6fac94ecaacbd18e94734503d274641ebdf2f1.tar.xz
tmwa-7c6fac94ecaacbd18e94734503d274641ebdf2f1.zip
Fix regen
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index e355063..050bd4e 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -5321,7 +5321,7 @@ void pc_natural_heal_sub(struct map_session_data *sd)
if (sd->quick_regeneration_hp.amount || sd->quick_regeneration_sp.amount)
{
int hp_bonus = pc_quickregenerate_effect(&sd->quick_regeneration_hp,
- (!sd->sc_data[StatusChange::SC_POISON].timer == -1
+ (!sd->sc_data[StatusChange::SC_POISON].timer
|| sd->sc_data[StatusChange::SC_SLOWPOISON].timer)
? sd->nhealhp
: 1); // [fate] slow down when poisoned