diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-08-28 00:22:59 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-08-28 00:22:59 -0700 |
commit | 2f9f602df94204a07ba9e785ebd6c8bb85b55a11 (patch) | |
tree | a50b796aa08bbf599e5e05153c851a0bc637ab25 /src | |
parent | 31440d220d64bebf8db6872def590f7c1fee0c7e (diff) | |
download | tmwa-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')
-rw-r--r-- | src/map/pc.cpp | 3 |
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; |