Browse Source

Fixed a compile error in clif_parse_stylist_buy

Fixes #6496

Thanks to @sader1992
Lemongrass3110 3 years ago
parent
commit
6cf761cabc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/clif.cpp

+ 1 - 1
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 ){