summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 5fdb390..bc7ef80 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -3228,6 +3228,7 @@ int pc_statusup2(dumb_ptr<map_session_data> sd, SP type, int val)
val = sd->status.attrs[attr] + val;
val = std::min(val, battle_config.max_parameter);
val = std::max(val, 1);
+ sd->status.attrs[attr] = val;
clif_updatestatus(sd, sp_to_usp(type));
clif_updatestatus(sd, type);
pc_calcstatus(sd, 0);