diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-07-04 19:16:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-07-12 02:29:12 +0300 |
commit | 6c95923c54dd2899747c06ec0d1ac1e9295b9fab (patch) | |
tree | 33e8d517032c55f4e18c1e13f27e90c793800fe1 /src | |
parent | c4c3d566d2b194e49985dc9923c36ca6efeebecb (diff) | |
download | hercules-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')
-rw-r--r-- | src/map/packets_struct.h | 4 |
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 { |