summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/send.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/send.c b/src/emap/send.c
index 7aceb20..5292f7b 100644
--- a/src/emap/send.c
+++ b/src/emap/send.c
@@ -188,7 +188,7 @@ void send_pc_info(struct block_list* bl1,
return;
int len = 14;
- if (tdata->clientVersion >= 21)
+ if (bl1 == bl2 || tdata->clientVersion >= 21)
len = 16;
char buf[len];
WBUFW (buf, 0) = 0xb0a;
@@ -199,7 +199,7 @@ void send_pc_info(struct block_list* bl1,
else
WBUFL (buf, 8) = 0;
WBUFW (buf, 12) = data->mount;
- if (tdata->clientVersion >= 21)
+ if (bl1 == bl2 || tdata->clientVersion >= 21)
WBUFW (buf, 14) = data->language;
clif->send(&buf, (int)sizeof(buf), bl2, target);