summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-10 10:16:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-12-10 10:16:30 +0000
commitcb287435a0c8a2901c7e105ebbe66ed0711e2d2e (patch)
tree89b2c217e7497125299b5985e1562f98a11a8e2e /src/map/clif.c
parent547279bdd6a34d2342e96be57219f31b657f5c47 (diff)
downloadhercules-cb287435a0c8a2901c7e105ebbe66ed0711e2d2e.tar.gz
hercules-cb287435a0c8a2901c7e105ebbe66ed0711e2d2e.tar.bz2
hercules-cb287435a0c8a2901c7e105ebbe66ed0711e2d2e.tar.xz
hercules-cb287435a0c8a2901c7e105ebbe66ed0711e2d2e.zip
- 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
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 4 insertions, 2 deletions
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);
+ }
}
/*==========================================