diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 133a84fad7b..ae118e5ac74 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -18970,6 +18970,7 @@ void clif_party_show_picker( const map_session_data* sd, const item* item_data ) */ void clif_displayexp( const map_session_data* sd, t_exp exp, char type, bool quest, bool lost ) { +#if PACKETVER >= 20091027 int32 fd; int32 offset; #if PACKETVER >= 20170830 @@ -18995,6 +18996,7 @@ void clif_displayexp( const map_session_data* sd, t_exp exp, char type, bool que WFIFOW(fd,10+offset) = type; WFIFOW(fd,12+offset) = (quest && type != SP_JOBEXP) ? 1 : 0; // NOTE: Somehow JobEXP always in yellow color WFIFOSET(fd,packet_len(cmd)); +#endif } diff --git a/src/map/packets_struct.hpp b/src/map/packets_struct.hpp index f86edcc3800..7673ec1d64e 100644 --- a/src/map/packets_struct.hpp +++ b/src/map/packets_struct.hpp @@ -3975,7 +3975,7 @@ struct PACKET_ZC_USESKILL_ACK { uint8 disposable; } __attribute__((packed)); DEFINE_PACKET_HEADER(ZC_USESKILL_ACK, 0x07fb); -#elif PACKETVER_MAIN_NUM >= 20090406 || PACKETVER_SAK_NUM >= 20080618 || PACKETVER_RE_NUM >= 20080827 || defined(PACKETVER_ZERO) +#else struct PACKET_ZC_USESKILL_ACK { int16 packetType; uint32 srcId;