summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
+ }
}
/*==========================================