From 6cf761cabcece070ff235cddeed6314a3b483ab6 Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Tue, 11 Jan 2022 10:36:51 +0100 Subject: [PATCH] Fixed a compile error in clif_parse_stylist_buy Fixes #6496 Thanks to @sader1992 --- src/map/clif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 978bf1ae67..4c2fc07e9b 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -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 ){