summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/mmo.h2
-rw-r--r--src/map/pc.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index ef9a6693e..d45dea212 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -51,7 +51,7 @@
#define PACKETVER 20120418
#endif
-/// uncomment if your client is NOT ragexeRE (required because of conflicting packets in ragexe vs ragexeRE)
+/// comment following line if your client is NOT ragexeRE (required because of conflicting packets in ragexe vs ragexeRE)
#define PACKETVER_RE
//Remove/Comment this line to disable sc_data saving. [Skotlex]
diff --git a/src/map/pc.c b/src/map/pc.c
index 49828071c..9b1545c51 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7550,6 +7550,9 @@ int pc_changelook(struct map_session_data *sd,int type,int val)
nullpo_ret(sd);
switch(type){
+ case LOOK_BASE:
+ sd->vd.class_ = val;
+ break;
case LOOK_HAIR: //Use the battle_config limits! [Skotlex]
val = cap_value(val, MIN_HAIR_STYLE, MAX_HAIR_STYLE);