diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-03-30 01:17:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-07 22:38:35 +0300 |
commit | 2b6e590b9cc8211c623c20242efc4dac9e313b0b (patch) | |
tree | 458c0be07e70d447cbadd403bf74d7210b9c7a2f /src | |
parent | 0a349742abd855ae4b6edbe8735937768cdfeb07 (diff) | |
download | hercules-2b6e590b9cc8211c623c20242efc4dac9e313b0b.tar.gz hercules-2b6e590b9cc8211c623c20242efc4dac9e313b0b.tar.bz2 hercules-2b6e590b9cc8211c623c20242efc4dac9e313b0b.tar.xz hercules-2b6e590b9cc8211c623c20242efc4dac9e313b0b.zip |
Open macro ui in client by request
Diffstat (limited to 'src')
-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 349e56437..86a31a464 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -21745,6 +21745,18 @@ static void clif_open_ui(struct map_session_data *sd, enum cz_ui_types uiType) p.data = 0; #endif break; + case CZ_MACRO_REGISTER_UI: + p.UIType = ZC_CAPTCHA_UI; +#if PACKETVER >= 20171122 + p.data = 0; +#endif + break; + case CZ_MACRO_DETECTOR_UI: + p.UIType = ZC_MACRO_UI; +#if PACKETVER >= 20171122 + p.data = 0; +#endif + break; case CZ_ATTENDANCE_UI: { if (clif->attendance_getendtime() < time(NULL)) { |