summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-01-17 17:32:56 -0800
committerBen Longbons <b.r.longbons@gmail.com>2013-01-17 17:32:56 -0800
commit9ce6320afe61969aa0843655b9a1d69eea6b1de1 (patch)
treebc876aa28995af568a2f995f85a890224eee0033 /src/map
parentf0a87e4f7f5377498960429e96be5dff183c8326 (diff)
downloadtmwa-9ce6320afe61969aa0843655b9a1d69eea6b1de1.tar.gz
tmwa-9ce6320afe61969aa0843655b9a1d69eea6b1de1.tar.bz2
tmwa-9ce6320afe61969aa0843655b9a1d69eea6b1de1.tar.xz
tmwa-9ce6320afe61969aa0843655b9a1d69eea6b1de1.zip
Change both sites, not one
This caused "zero length packet" in client.
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp
index 88b3839..974fd4f 100644
--- a/src/map/clif.cpp
+++ b/src/map/clif.cpp
@@ -2241,7 +2241,7 @@ int clif_changelook_towards(struct block_list *bl, LOOK type, int val,
WBUFW(buf, 9) = 0;
}
if (dstsd)
- WFIFOSET(dstsd->fd, packet_len_table[0x1d7]);
+ clif_send(buf, packet_len_table[0x1d7], &dstsd->bl, SELF);
else
clif_send(buf, packet_len_table[0x1d7], bl, AREA);
}