summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emap/clif.c15
-rw-r--r--src/emap/send.c4
2 files changed, 2 insertions, 17 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
diff --git a/src/emap/send.c b/src/emap/send.c
index 35a9477..7aceb20 100644
--- a/src/emap/send.c
+++ b/src/emap/send.c
@@ -370,13 +370,11 @@ void send_changelook2(struct map_session_data* sd, struct block_list *bl, int id
unsigned char buf[32];
int i;
- WBUFW(buf, 0) = 0x1d7;
+ WBUFW(buf, 0) = 0xb17;
WBUFL(buf, 2) = id;
WBUFB(buf, 6) = type;
WBUFW(buf, 7) = val;
WBUFW(buf, 9) = val2;
- clif->send(buf, 11, bl, target);
- WBUFW(buf, 0) = 0xb17;
if (data && sd)
{
//ShowWarning("equip: for type %d\n", type);