diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 17:08:19 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 17:08:19 -0600 |
commit | e4b494e5b6540c88c597c67df114c0328ea9d7b7 (patch) | |
tree | 6e08c43011662e6f83d1eabcefc949d6e680616f /src/map/clif.c | |
parent | 36a2e1945e4c27e438a1bce6e286691a60ed7adf (diff) | |
download | tmwa-e4b494e5b6540c88c597c67df114c0328ea9d7b7.tar.gz tmwa-e4b494e5b6540c88c597c67df114c0328ea9d7b7.tar.bz2 tmwa-e4b494e5b6540c88c597c67df114c0328ea9d7b7.tar.xz tmwa-e4b494e5b6540c88c597c67df114c0328ea9d7b7.zip |
Remove some stuff from direction change packets
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 3cece43..455f7cc 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6611,18 +6611,18 @@ void clif_parse_MapMove(int fd, struct map_session_data *sd) { */ void clif_parse_ChangeDir(int fd, struct map_session_data *sd) { unsigned char buf[64]; - short headdir, dir; + short dir; nullpo_retv(sd); - headdir = RFIFOW(fd,2); + RFIFOW(fd,2); //skip dir = RFIFOB(fd,4); - pc_setdir(sd, dir, headdir); + pc_setdir(sd, dir); WBUFW(buf,0) = 0x9c; WBUFL(buf,2) = sd->bl.id; - WBUFW(buf,6) = headdir; + WBUFW(buf,6) = 0; WBUFB(buf,8) = dir; if (sd->disguise > 23 && sd->disguise < 4001) // mob disguises [Valaris] clif_send(buf, packet_len_table[0x9c], &sd->bl, AREA); |