diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-10-30 21:59:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-07 06:27:59 +0300 |
commit | 6bf0cc3e848426169deb9cdbec0ee08f75000266 (patch) | |
tree | 7a4dfa56e4970f694b76299b5e2265d4c3f7d972 /src/map/packets_struct.h | |
parent | 02293cef263fd93f8dc37bd14dd4eb319d46f88e (diff) | |
download | hercules-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.h | 2 |
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)); |