From 272ff4508a45341d683df71b22898851fa49e7b2 Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 4 Sep 2013 20:04:57 +0200 Subject: Fixed more packet issues with 2006-2008 clients - Fixes bugreport:2007 comment 5 http://hercules.ws/board/tracker/issue-7653-not-compatible-with-hexed-2007/?gopid=20302#entry20302 - Follow-up to df0a324 Signed-off-by: Haru --- src/map/clif.c | 1 - src/map/packets_struct.h | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index ee7d085a6..d57d73c09 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -1036,7 +1036,6 @@ void clif_spawn_unit2(struct block_list* bl, enum send_target target) { p.sex = vd->sex; WBUFPOS(&p.PosDir[0],0,bl->x,bl->y,unit_getdir(bl)); p.xSize = p.ySize = (sd) ? 5 : 0; - p.clevel = clif_setlevel(bl); clif->send(&p,sizeof(p),bl,target); } diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h index 0e04756ec..2bfb10ca3 100644 --- a/src/map/packets_struct.h +++ b/src/map/packets_struct.h @@ -235,7 +235,6 @@ struct packet_spawn_unit2 { unsigned char PosDir[3]; unsigned char xSize; unsigned char ySize; - short clevel; } __attribute__((packed)); #endif struct packet_spawn_unit { @@ -308,7 +307,7 @@ struct packet_unit_walking { short speed; short bodyState; short healthState; -#if PACKETVER < 20080102 +#if PACKETVER < 7 short effectState; #else int effectState; -- cgit v1.2.3-70-g09d2