summaryrefslogtreecommitdiff
path: root/src/emap/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 02:09:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 02:24:18 +0300
commite684e16dab043508af421ccef4d3932568d811ae (patch)
tree8ae689293e7cbbaabbdad464ffba10e6678af4df /src/emap/clif.c
parentef853a511e3c8ac67ce501cec30f4bd0fc3fa9b7 (diff)
downloadplugin-e684e16dab043508af421ccef4d3932568d811ae.tar.gz
plugin-e684e16dab043508af421ccef4d3932568d811ae.tar.bz2
plugin-e684e16dab043508af421ccef4d3932568d811ae.tar.xz
plugin-e684e16dab043508af421ccef4d3932568d811ae.zip
Remove blocking and sending old packets for spawn, move, idle.
Diffstat (limited to 'src/emap/clif.c')
-rw-r--r--src/emap/clif.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/emap/clif.c b/src/emap/clif.c
index 4f8ac36..e6b6f17 100644
--- a/src/emap/clif.c
+++ b/src/emap/clif.c
@@ -487,15 +487,6 @@ bool eclif_send_pre(const void **bufPtr,
if (*len >= 2)
{
const int packet = RBUFW (buf, 0);
- if (packet == 0x915 ||
- packet == 0x90f ||
- packet == 0x914 ||
- packet == 0x2e1)
- {
- // not sending old packet to new clients
- hookStop();
- return true;
- }
if (packet == 0x9cb)
{
struct map_session_data *sd = BL_CAST(BL_PC, bl);
@@ -537,11 +528,7 @@ int eclif_send_actual_pre(int *fd,
const int packet = RBUFW (buf, 0);
if (packet == 0x1d7 ||
packet == 0x84b ||
- packet == 0x2dd ||
- packet == 0x915 ||
- packet == 0x90f ||
- packet == 0x914 ||
- packet == 0x2e1)
+ packet == 0x2dd)
{
// not sending old packets to new clients
// probably useless