From cb287435a0c8a2901c7e105ebbe66ed0711e2d2e Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 10 Dec 2007 10:16:30 +0000 Subject: - Fixed the disguise packet sent in clif_move git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11882 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/clif.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index fba585dbb..61fd4b4bc 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2007/12/10 + * Fixed the disguise packet sent in clif_move * Added missing range/skill-mask info to reflected damage (fixes autospells not triggering on it) [Skotlex] 2007/12/09 diff --git a/src/map/clif.c b/src/map/clif.c index 8bf122a5f..3ff743568 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1322,8 +1322,10 @@ void clif_move(struct unit_data *ud) WBUFPOS2(buf,6,bl->x,bl->y,ud->to_x,ud->to_y,8,8); WBUFL(buf,12)=gettick(); clif_send(buf, 16, bl, AREA_WOS); - if (disguised(bl)) - clif_setdisguise((TBL_PC*)bl, buf, 16, 0); + if (disguised(bl)) { + WBUFL(buf,2)=-bl->id; + clif_send(buf, 16, bl, SELF); + } } /*========================================== -- cgit v1.2.3-60-g2f50