diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-11 01:29:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:22:04 +0300 |
commit | efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b (patch) | |
tree | 8b29dfe7511fc0b7f84b9101d56e227d53e5eabb /src/map/clif.c | |
parent | e550b6e991fea6dfeca280200245bbc8401188f9 (diff) | |
download | hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.tar.gz hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.tar.bz2 hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.tar.xz hercules-efd93a0d67a1dc90c68aa7185c2cdea7f55aa66b.zip |
Add packet ZC_LOAD_CONFIRM
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 89daf48b7..11bd2218a 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -21835,6 +21835,17 @@ static void clif_parse_attendance_reward_request(int fd, struct map_session_data static void clif_parse_cz_blocking_play_cancel(int fd, struct map_session_data *sd) __attribute__((nonnull(2))); static void clif_parse_cz_blocking_play_cancel(int fd, struct map_session_data *sd) { + clif->loadConfirm(sd); +} + +static void clif_loadConfirm(struct map_session_data *sd) +{ +#if PACKETVER_MAIN_NUM >= 20190403 || PACKETVER_RE_NUM >= 20190320 || PACKETVER_ZERO_NUM >= 20190410 + nullpo_retv(sd); + struct PACKET_ZC_LOAD_CONFIRM p; + p.packetType = HEADER_ZC_LOAD_CONFIRM; + clif->send(&p, sizeof(p), &sd->bl, SELF); +#endif } static void clif_ui_action(struct map_session_data *sd, int32 UIType, int32 data) @@ -23409,4 +23420,5 @@ void clif_defaults(void) clif->pingTimer = clif_pingTimer; clif->pingTimerSub = clif_pingTimerSub; clif->pResetCooldown = clif_parse_ResetCooldown; + clif->loadConfirm = clif_loadConfirm; } |