summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-04 19:16:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-12 02:29:12 +0300
commit6c95923c54dd2899747c06ec0d1ac1e9295b9fab (patch)
tree33e8d517032c55f4e18c1e13f27e90c793800fe1 /src/map/packets_struct.h
parentc4c3d566d2b194e49985dc9923c36ca6efeebecb (diff)
downloadhercules-6c95923c54dd2899747c06ec0d1ac1e9295b9fab.tar.gz
hercules-6c95923c54dd2899747c06ec0d1ac1e9295b9fab.tar.bz2
hercules-6c95923c54dd2899747c06ec0d1ac1e9295b9fab.tar.xz
hercules-6c95923c54dd2899747c06ec0d1ac1e9295b9fab.zip
Change card size field struct for packet version 20180704 RE.
This will change many packets and some of them still not updated.
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index c23a5066a..aa16017a3 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -390,7 +390,11 @@ enum packet_headers {
* structs for data
*/
struct EQUIPSLOTINFO {
+#if PACKETVER_RE_NUM >= 20180704
+ uint32 card[4];
+#else
uint16 card[4];
+#endif
} __attribute__((packed));
struct NORMALITEM_INFO {