Added some missing ifdefs for old clients (#7237)
Fixes #7236 Thanks to @Akkarinage
This commit is contained in:
parent
c29fef7323
commit
3c43669425
@ -10413,6 +10413,7 @@ void clif_equipcheckbox(struct map_session_data* sd)
|
||||
/// 0997 <packet len>.W <name>.24B <class>.W <hairstyle>.W <bottom-viewid>.W <mid-viewid>.W <up-viewid>.W <robe>.W <haircolor>.W <cloth-dye>.W <gender>.B {equip item}.31B* (ZC_EQUIPWIN_MICROSCOPE_V5, PACKETVER >= 20120925)
|
||||
/// 0a2d <packet len>.W <name>.24B <class>.W <hairstyle>.W <bottom-viewid>.W <mid-viewid>.W <up-viewid>.W <robe>.W <haircolor>.W <cloth-dye>.W <gender>.B {equip item}.57B* (ZC_EQUIPWIN_MICROSCOPE_V6, PACKETVER >= 20150225)
|
||||
void clif_viewequip_ack( struct map_session_data* sd, struct map_session_data* tsd ){
|
||||
#if PACKETVER_AD_NUM >= 20071211 || PACKETVER_SAK_NUM >= 20071127 || PACKETVER_MAIN_NUM >= 20071211 || defined(PACKETVER_RE)
|
||||
nullpo_retv( sd );
|
||||
nullpo_retv( tsd );
|
||||
|
||||
@ -10460,6 +10461,7 @@ void clif_viewequip_ack( struct map_session_data* sd, struct map_session_data* t
|
||||
p->sex = tsd->vd.sex;
|
||||
|
||||
clif_send( p, p->PacketLength, &sd->bl, SELF );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -11272,7 +11274,7 @@ void clif_parse_TickSend(int fd, struct map_session_data *sd)
|
||||
/// 07d9 { <is skill>.B <id>.L <count>.W }*38 (ZC_SHORTCUT_KEY_LIST_V2, PACKETVER >= 20090617)
|
||||
/// 0a00 <rotate>.B { <is skill>.B <id>.L <count>.W }*38 (ZC_SHORTCUT_KEY_LIST_V3, PACKETVER >= 20141022)
|
||||
void clif_hotkeys_send( struct map_session_data *sd, int tab ){
|
||||
#ifdef HOTKEY_SAVING
|
||||
#if defined(HOTKEY_SAVING) && ( PACKETVER_MAIN_NUM >= 20070711 || PACKETVER_RE_NUM >= 20080827 || PACKETVER_AD_NUM >= 20070711 || PACKETVER_SAK_NUM >= 20070628 )
|
||||
nullpo_retv( sd );
|
||||
|
||||
struct PACKET_ZC_SHORTCUT_KEY_LIST p;
|
||||
|
Loading…
x
Reference in New Issue
Block a user