summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-30 21:59:54 +0300
committerAndrei Karas <akaras@inbox.ru>2018-11-07 06:27:59 +0300
commit6bf0cc3e848426169deb9cdbec0ee08f75000266 (patch)
tree7a4dfa56e4970f694b76299b5e2265d4c3f7d972 /src/map/packets_struct.h
parent02293cef263fd93f8dc37bd14dd4eb319d46f88e (diff)
downloadhercules-6bf0cc3e848426169deb9cdbec0ee08f75000266.tar.gz
hercules-6bf0cc3e848426169deb9cdbec0ee08f75000266.tar.bz2
hercules-6bf0cc3e848426169deb9cdbec0ee08f75000266.tar.xz
hercules-6bf0cc3e848426169deb9cdbec0ee08f75000266.zip
Fix packet ZC_FORMATSTRING_MSG_COLOR for old clients.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index a9affc76b..c2363ce08 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -1928,7 +1928,9 @@ struct PACKET_ZC_FORMATSTRING_MSG_COLOR {
uint16 PacketType;
uint16 PacketLength;
uint16 messageId;
+#if PACKETVER >= 20160406
uint32 color;
+#endif
char messageString[];
} __attribute__((packed));