From b3523d70ebf3c69dc7f2410651be235bdac7232b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Apr 2019 04:36:21 +0300 Subject: Fix packet version for pc name packet with title --- src/map/packets_struct.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/packets_struct.h') 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)); -- cgit v1.2.3-70-g09d2