summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/pc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 6057278..05f61ea 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -3710,8 +3710,7 @@ int pc_setparam(dumb_ptr<block_list> bl, SP type, int val)
case SP::HP:
nullpo_retz(sd);
// TODO: mob mutation
- sd->status.hp = val;
- clif_updatestatus(sd, type);
+ pc_heal(sd, (val - sd->status.hp), 0);
break;
case SP::MAXHP:
nullpo_retz(sd);