summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-08-27 18:49:47 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-08-27 18:49:47 +0530
commitbcf51fa5a12d07fe80975bc921ccce3e4f6bf35d (patch)
tree9f6c1889b1a9a87098eea67d3e340f9736e18cc2 /src/map/packets_struct.h
parent12c8ae2541b654a09bd6a2f264856f6fc0089a23 (diff)
downloadhercules-bcf51fa5a12d07fe80975bc921ccce3e4f6bf35d.tar.gz
hercules-bcf51fa5a12d07fe80975bc921ccce3e4f6bf35d.tar.bz2
hercules-bcf51fa5a12d07fe80975bc921ccce3e4f6bf35d.tar.xz
hercules-bcf51fa5a12d07fe80975bc921ccce3e4f6bf35d.zip
Fixes Unidentified items bug in client >= 20150226
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index bf3e006be..daf77c134 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -325,6 +325,10 @@ struct EQUIPITEM_INFO {
#if PACKETVER >= 20100629
unsigned short wItemSpriteNumber;
#endif
+#if PACKETVER >= 20150226
+ unsigned char option_count;
+ struct RndOptions option_data[5];
+#endif
#if PACKETVER >= 20120925
struct {
unsigned char IsIdentified : 1;
@@ -333,10 +337,6 @@ struct EQUIPITEM_INFO {
unsigned char SpareBits : 5;
} Flag;
#endif
-#if PACKETVER >= 20150226
- unsigned char option_count;
- struct RndOptions option_data[5];
-#endif
} __attribute__((packed));
struct packet_authok {