summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-04 20:04:57 +0200
committerHaru <haru@dotalux.com>2013-09-04 20:04:57 +0200
commit272ff4508a45341d683df71b22898851fa49e7b2 (patch)
treeeb82fe2a845d6251272d82f0f8693367831e7f51 /src/map/packets_struct.h
parentda3b014f7fb44d36aae0c1a2b18cb07329d18b36 (diff)
downloadhercules-272ff4508a45341d683df71b22898851fa49e7b2.tar.gz
hercules-272ff4508a45341d683df71b22898851fa49e7b2.tar.bz2
hercules-272ff4508a45341d683df71b22898851fa49e7b2.tar.xz
hercules-272ff4508a45341d683df71b22898851fa49e7b2.zip
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 <haru@dotalux.com>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h3
1 files changed, 1 insertions, 2 deletions
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;