diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-09 00:22:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-09 00:22:13 +0300 |
commit | 74f62a9d600defa742b6e217edf4876190c4962d (patch) | |
tree | 9761ff4faa030d9fd4089c2cdae607eae7e7f0d8 /src/emap/send.c | |
parent | 8f76b5e745322b637a02e9a45c996acebe95bc3e (diff) | |
download | evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.tar.gz evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.tar.bz2 evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.tar.xz evol-hercules-74f62a9d600defa742b6e217edf4876190c4962d.zip |
Drop support for client version 20
Diffstat (limited to 'src/emap/send.c')
-rw-r--r-- | src/emap/send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/send.c b/src/emap/send.c index dd9d7ac..454bf8f 100644 --- a/src/emap/send.c +++ b/src/emap/send.c @@ -211,7 +211,7 @@ void send_pc_info(struct block_list* bl1, int len = 14; if (tdata->clientVersion >= 24) len = 20; - else if (bl1 == bl2 || tdata->clientVersion >= 21) + else if (bl1 == bl2) len = 16; char buf[len]; WBUFW (buf, 0) = 0xb0a + evolPacketOffset; @@ -222,7 +222,7 @@ void send_pc_info(struct block_list* bl1, else WBUFL (buf, 8) = 0; WBUFW (buf, 12) = data->mount; - if (bl1 == bl2 || tdata->clientVersion >= 21) + if (bl1 == bl2) WBUFW (buf, 14) = data->language; if (tdata->clientVersion >= 24) { |