summaryrefslogtreecommitdiff
path: root/src/map/packets_struct.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-13 04:36:21 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-05 22:22:04 +0300
commitb3523d70ebf3c69dc7f2410651be235bdac7232b (patch)
tree75507c2bf4d72c8188f4565628a39858e5499695 /src/map/packets_struct.h
parent11634d3c6e9a58e77e8f5bd37b801c944a674242 (diff)
downloadhercules-b3523d70ebf3c69dc7f2410651be235bdac7232b.tar.gz
hercules-b3523d70ebf3c69dc7f2410651be235bdac7232b.tar.bz2
hercules-b3523d70ebf3c69dc7f2410651be235bdac7232b.tar.xz
hercules-b3523d70ebf3c69dc7f2410651be235bdac7232b.zip
Fix packet version for pc name packet with title
Diffstat (limited to 'src/map/packets_struct.h')
-rw-r--r--src/map/packets_struct.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 07cc46770..ed31c6c59 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -418,7 +418,7 @@ enum packet_headers {
buyingStoreUpdateItemType = 0x81b,
#endif
reqName = 0x95,
-#if PACKETVER >= 20150503 // Confirm this?
+#if PACKETVER_MAIN_NUM >= 20150225 || PACKETVER_RE_NUM >= 20141126 || defined(PACKETVER_ZERO)
reqNameAllType = 0xA30,
#else
reqNameAllType = 0x195,
@@ -2794,8 +2794,8 @@ struct packet_reqnameall_ack {
char party_name[NAME_LENGTH];
char guild_name[NAME_LENGTH];
char position_name[NAME_LENGTH];
-#if PACKETVER >= 20150503 // Confirm this?
- int32 title_id; // Achievement Title
+#if PACKETVER_MAIN_NUM >= 20150225 || PACKETVER_RE_NUM >= 20141126 || defined(PACKETVER_ZERO)
+ int32 title_id;
#endif
} __attribute__((packed));