diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:35:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:35:18 +0300 |
commit | ca8f4954af2c0b800358229c831ebcbbb2567acb (patch) | |
tree | 48f65e76f0482042446e7ffc086d5f8a753f0189 /src/emap | |
parent | 4175e61b1381e553193627b7f5a1b7ee1b0dbb50 (diff) | |
download | evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.tar.gz evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.tar.bz2 evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.tar.xz evol-hercules-ca8f4954af2c0b800358229c831ebcbbb2567acb.zip |
Drop support for client protocol version 12 (Sep 28 2015).
Diffstat (limited to 'src/emap')
-rw-r--r-- | src/emap/clif.c | 11 | ||||
-rw-r--r-- | src/emap/send.c | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c index 568d97a..f3a6173 100644 --- a/src/emap/clif.c +++ b/src/emap/clif.c @@ -560,17 +560,6 @@ int eclif_send_actual_pre(int *fd, hookStop(); return 0; } - if (packet == 0xb1b) - { - struct SessionExt *data = session_get(*fd); - if (!data) - return 0; - if (data->clientVersion < 14) - { // not sending new packets to old clients - hookStop(); - return 0; - } - } if (packet == 0x9dd || packet == 0x9dc || packet == 0x9db || packet == 0x8c8) { struct SessionExt *data = session_get(*fd); diff --git a/src/emap/send.c b/src/emap/send.c index 9c62014..196eec1 100644 --- a/src/emap/send.c +++ b/src/emap/send.c @@ -432,7 +432,7 @@ void send_setwall(int m, int layer, int x1, int y1, int x2, int y2, int mask, en void send_setwall_single(int fd, int m, int layer, int x1, int y1, int x2, int y2, int mask) { struct SessionExt *data = session_get(fd); - if (!data || data->clientVersion < 14) + if (!data) return; WFIFOHEAD (fd, 34); |