From 09972deecb1aaf08bfa331ccc20830514913b234 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 27 Apr 2006 15:15:22 +0000 Subject: - Small change in the pet_ai that should stop the "strange" catch-up behaviour of pets when you are much faster than them. - Corrected the unequip script of the wedding dress/tuxedo (it should be Class, not bClass) - Changebase script command will also refresh the weapon sprites (in case you changed into Wedding/Xmas class) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6317 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index e5994c0e3..625f49b5f 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -6348,7 +6348,9 @@ int buildin_changebase(struct script_state *st) if(!sd->disguise && vclass != sd->vd.class_) { status_set_viewdata(&sd->bl, vclass); + //Updated client view. Base, Weapon and Cloth Colors. clif_changelook(&sd->bl,LOOK_BASE,sd->vd.class_); + clif_changelook(&sd->bl,LOOK_WEAPON,sd->status.weapon); if (sd->vd.cloth_color) clif_changelook(&sd->bl,LOOK_CLOTHES_COLOR,sd->vd.cloth_color); } -- cgit v1.2.3-70-g09d2