- Added the missing clif_* calls to make changebase's view-class change update on the client.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6312 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-04-27 13:40:15 +00:00
parent 1a3d6004c5
commit 21b2151c97
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;
}