summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-19 23:58:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-19 23:58:08 +0300
commitc94b16d11e20fbfecf6f69da057e63dfc0c2d312 (patch)
tree1ec92940643e7bd2a2a13f4d0841987e8c20672b /src/emap
parent72d4d2df6918917a50c057fea3f5847f9e3750eb (diff)
downloadevol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.tar.gz
evol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.tar.bz2
evol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.tar.xz
evol-hercules-c94b16d11e20fbfecf6f69da057e63dfc0c2d312.zip
Drop support for client protocol version 4 (Jan 5 2015).
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/clif.c12
-rw-r--r--src/emap/send.c2
2 files changed, 1 insertions, 13 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 7d75a85..6adb50b 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -551,18 +551,6 @@ int eclif_send_actual_pre(int *fd,
if (*len >= 2)
{
const int packet = RBUFW (buf, 0);
- if (packet == 0xb0b)
- {
- struct SessionExt *data = session_get(*fd);
- if (!data)
- return 0;
- if (data->clientVersion < 5)
- { // not sending new packets to old clients
-// ShowWarning("skip packet %d\n", packet);
- hookStop();
- return 0;
- }
- }
if (packet == 0x1d7)
{
struct SessionExt *data = session_get(*fd);
diff --git a/src/emap/send.c b/src/emap/send.c
index c3b9478..ea02817 100644
--- a/src/emap/send.c
+++ b/src/emap/send.c
@@ -226,7 +226,7 @@ void send_npc_info(struct block_list* bl1,
if (tsd)
{
struct SessionExt *tdata = session_get_bysd(tsd);
- if (!tdata || tdata->clientVersion < 5)
+ if (!tdata)
return;
}