summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/elogin/parse.c4
-rw-r--r--src/emap/clif.c11
-rw-r--r--src/emap/send.c2
3 files changed, 3 insertions, 14 deletions
diff --git a/src/elogin/parse.c b/src/elogin/parse.c
index 562250e..1589c67 100644
--- a/src/elogin/parse.c
+++ b/src/elogin/parse.c
@@ -34,7 +34,7 @@ void login_parse_version(int fd)
clientVersion = RFIFOL(fd, 2);
- if (clientVersion < 12)
+ if (clientVersion < 14)
{
lclif->login_error(fd, 5);
return;
@@ -58,7 +58,7 @@ bool elogin_client_login_pre(int *fdPtr,
char username[NAME_LENGTH];
safestrncpy(username, RFIFOP(fd, 6), NAME_LENGTH);
int len = (int)safestrnlen(username, NAME_LENGTH);
- if (clientVersion < 12)
+ if (clientVersion < 14)
{
lclif->login_error(fd, 5);
hookStop();
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);