summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-06 18:20:29 +0300
committerAndrei Karas <akaras@inbox.ru>2019-04-07 22:40:03 +0300
commite610e222c57c1268fce72bc9578b42f655c18545 (patch)
tree3954ed57ab46f4e403d83215822d6ca4a9e24189 /src/map/clif.c
parent7ae24dade4167ed76a62905d8f96280ceeee5e52 (diff)
downloadhercules-e610e222c57c1268fce72bc9578b42f655c18545.tar.gz
hercules-e610e222c57c1268fce72bc9578b42f655c18545.tar.bz2
hercules-e610e222c57c1268fce72bc9578b42f655c18545.tar.xz
hercules-e610e222c57c1268fce72bc9578b42f655c18545.zip
Add packet CZ_STYLE_CLOSE
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 63ad55c3d..109f78553 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -21948,6 +21948,12 @@ static void clif_parse_cz_req_style_change2(int fd, struct map_session_data *sd)
return;
}
+static void clif_parse_cz_style_close(int fd, struct map_session_data *sd) __attribute__((nonnull(2)));
+static void clif_parse_cz_style_close(int fd, struct map_session_data *sd)
+{
+ // do nothing
+}
+
static void clif_style_change_response(struct map_session_data *sd, enum stylist_shop flag)
{
#if PACKETVER >= 20151104
@@ -23386,6 +23392,7 @@ void clif_defaults(void)
clif->pReqStyleChange = clif_parse_cz_req_style_change;
clif->pReqStyleChange2 = clif_parse_cz_req_style_change2;
+ clif->pStyleClose = clif_parse_cz_style_close;
clif->style_change_response = clif_style_change_response;
clif->camera_showWindow = clif_camera_showWindow;