Fixed a compile error in clif_parse_stylist_buy

Fixes #6496

Thanks to @sader1992
This commit is contained in:
Lemongrass3110
2022-01-11 10:36:51 +01:00
parent dcd01a0fa5
commit 6cf761cabc

View File

@@ -22489,7 +22489,6 @@ void clif_parse_stylist_buy( int fd, struct map_session_data* sd ){
struct PACKET_CZ_REQ_STYLE_CHANGE2* p = (struct PACKET_CZ_REQ_STYLE_CHANGE2*)RFIFOP( fd, 0 );
#else
struct PACKET_CZ_REQ_STYLE_CHANGE* p = (struct PACKET_CZ_REQ_STYLE_CHANGE*)RFIFOP( fd, 0 );
#endif
#endif
if( p->HeadPalette != 0 && !clif_parse_stylist_buy_sub( sd, LOOK_HAIR_COLOR, p->HeadPalette ) ){
clif_stylist_response( sd, true );
@@ -22529,6 +22528,7 @@ void clif_parse_stylist_buy( int fd, struct map_session_data* sd ){
#endif
clif_stylist_response( sd, false );
#endif
}
void clif_parse_stylist_close( int fd, struct map_session_data* sd ){