From 2f9f602df94204a07ba9e785ebd6c8bb85b55a11 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 28 Aug 2014 00:22:59 -0700 Subject: Properly inform the client about class/species/race changing (hopefully) --- src/map/pc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 sd, SP type, int val) break; case SP::CLASS: sd->status.species = wrap(val); - break; + clif_changelook(sd, LOOK::BASE, val); + return 0; case SP::SKILLPOINT: sd->status.skill_point = val; break; -- cgit v1.2.3-60-g2f50