summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-09-19 00:55:36 +0200
committerHaru <haru@dotalux.com>2017-09-19 00:57:24 +0200
commitfbc66fa0982a9d7a4ae03377b2eb2b3cfa30c90c (patch)
tree23cb25b210b28da7d083de1079a846d800a601b3 /src/map/packets_struct.h
parentf4a58bbf20e1a46420df0ea9264876217b150a66 (diff)
downloadhercules-fbc66fa0982a9d7a4ae03377b2eb2b3cfa30c90c.tar.gz
hercules-fbc66fa0982a9d7a4ae03377b2eb2b3cfa30c90c.tar.bz2
hercules-fbc66fa0982a9d7a4ae03377b2eb2b3cfa30c90c.tar.xz
hercules-fbc66fa0982a9d7a4ae03377b2eb2b3cfa30c90c.zip
Fix compile errors with some specific PACKETVER values
- PACKETVER <= 3 - PACKETVER == 20071106 - PACKETVER >= 20141016 && PACKETVER <= 20141022 - PACKETVER >= 20160921 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 6e0ddf814..207c345da 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -632,7 +632,7 @@ struct packet_unit_walking {
#if PACKETVER >= 20091103
int16 PacketLength;
#endif
-#if PACKETVER > 20071106
+#if PACKETVER >= 20071106
uint8 objecttype;
#endif
#if PACKETVER >= 20131223