summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-08-28 00:22:59 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-08-28 00:22:59 -0700
commit2f9f602df94204a07ba9e785ebd6c8bb85b55a11 (patch)
treea50b796aa08bbf599e5e05153c851a0bc637ab25 /src/map
parent31440d220d64bebf8db6872def590f7c1fee0c7e (diff)
downloadtmwa-2f9f602df94204a07ba9e785ebd6c8bb85b55a11.tar.gz
tmwa-2f9f602df94204a07ba9e785ebd6c8bb85b55a11.tar.bz2
tmwa-2f9f602df94204a07ba9e785ebd6c8bb85b55a11.tar.xz
tmwa-2f9f602df94204a07ba9e785ebd6c8bb85b55a11.zip
Properly inform the client about class/species/race changing (hopefully)
Diffstat (limited to 'src/map')
-rw-r--r--src/map/pc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 2fa8bb7..ada5b9f 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -3698,7 +3698,8 @@ int pc_setparam(dumb_ptr<map_session_data> sd, SP type, int val)
break;
case SP::CLASS:
sd->status.species = wrap<Species>(val);
- break;
+ clif_changelook(sd, LOOK::BASE, val);
+ return 0;
case SP::SKILLPOINT:
sd->status.skill_point = val;
break;