summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/clif.c1
-rw-r--r--src/map/packets_struct.h3
2 files changed, 1 insertions, 3 deletions
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;