summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThe Free Yorp <TheFreeYorp@gmail.com>2012-01-28 21:33:23 +1300
committerThe Free Yorp <TheFreeYorp@gmail.com>2012-01-28 21:33:23 +1300
commitf6642c7b8ccd7ac153d2d2b6886d302eeb3f999a (patch)
tree4876c1fd2d4d5e036ec0636ae31df58ba37a3a0e /src
parent5c019fb9ca9bd4d1839c59d180ab247476cccd21 (diff)
downloadtmwa-f6642c7b8ccd7ac153d2d2b6886d302eeb3f999a.tar.gz
tmwa-f6642c7b8ccd7ac153d2d2b6886d302eeb3f999a.tar.bz2
tmwa-f6642c7b8ccd7ac153d2d2b6886d302eeb3f999a.tar.xz
tmwa-f6642c7b8ccd7ac153d2d2b6886d302eeb3f999a.zip
Send the current remaining status points even when a requested statup fails.
This was causing issues where the client thought it had less status points than it actually had.
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index a440b96..8096679 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5465,6 +5465,7 @@ int pc_statusup (struct map_session_data *sd, int type)
|| val >= battle_config.max_parameter)
{
clif_statusupack (sd, type, 0, val);
+ clif_updatestatus (sd, SP_STATUSPOINT);
return 1;
}
switch (type)