diff --git a/src/map/clif.cpp b/src/map/clif.cpp index b7d37a87ca..418b45607f 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -16363,6 +16363,7 @@ void clif_parse_Mail_cancelwrite( int fd, struct map_session_data *sd ){ /// 0a14 .L .W .W (ZC_CHECK_RECEIVE_CHARACTER_NAME) /// 0a51 .L .W .W .24B (ZC_CHECK_RECEIVE_CHARACTER_NAME2) void clif_Mail_Receiver_Ack( struct map_session_data* sd, uint32 char_id, short class_, uint32 level, const char* name ){ +#if PACKETVER >= 20141119 PACKET_ZC_CHECKNAME p = { 0 }; p.PacketType = HEADER_ZC_CHECKNAME; @@ -16373,6 +16374,7 @@ void clif_Mail_Receiver_Ack( struct map_session_data* sd, uint32 char_id, short strncpy(p.Name, name, NAME_LENGTH); #endif clif_send(&p, sizeof(p), &sd->bl, SELF); +#endif } /// Request information about the recipient