diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-27 13:40:15 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-27 13:40:15 +0000 |
commit | 4d51983e59c4d4008c7ed83380588959be7fad0c (patch) | |
tree | 4a88e445b1d4a7aa71786015af2d5cbf261a647a /src | |
parent | 78d5126daf93ed401807f79c3f7fab27a06b0e3e (diff) | |
download | hercules-4d51983e59c4d4008c7ed83380588959be7fad0c.tar.gz hercules-4d51983e59c4d4008c7ed83380588959be7fad0c.tar.bz2 hercules-4d51983e59c4d4008c7ed83380588959be7fad0c.tar.xz hercules-4d51983e59c4d4008c7ed83380588959be7fad0c.zip |
- Added the missing clif_* calls to make changebase's view-class change update on the client.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6312 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 40cb81e93..e5994c0e3 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6346,8 +6346,12 @@ int buildin_changebase(struct script_state *st) return 0;
}
- if(!sd->disguise && vclass != sd->vd.class_)
+ if(!sd->disguise && vclass != sd->vd.class_) {
status_set_viewdata(&sd->bl, vclass);
+ clif_changelook(&sd->bl,LOOK_BASE,sd->vd.class_);
+ if (sd->vd.cloth_color)
+ clif_changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->vd.cloth_color);
+ }
return 0;
}
|