diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-09-16 10:21:49 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-09-16 10:21:49 -0700 |
commit | 1223374a40e4dc4ccc1f7569300745ea653a89ba (patch) | |
tree | 9960d645bd0879b76b2f39d77bf2435f5f65b63e /src/map/pc.cpp | |
parent | 06b19474a7335cf4a4bd6ecc7405755a9610c742 (diff) | |
download | tmwa-1223374a40e4dc4ccc1f7569300745ea653a89ba.tar.gz tmwa-1223374a40e4dc4ccc1f7569300745ea653a89ba.tar.bz2 tmwa-1223374a40e4dc4ccc1f7569300745ea653a89ba.tar.xz tmwa-1223374a40e4dc4ccc1f7569300745ea653a89ba.zip |
Fix statup2 not actually increasing the stat
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r-- | src/map/pc.cpp | 1 |
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); |