diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/script.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index edff4ae8f..1d1e470f3 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/27
+ * Added the missing clif_* calls to make changebase's view-class change
+ update on the client. [Skotlex]
* Added battle config hide_woe_damage which hides damage on woe maps
packet-wise (battle/client.conf). [Skotlex]
* Fixed base-level up @ command giving stat points instead of taking them
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;
}
|