summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-06-13 05:27:56 +0300
committerAndrei Karas <akaras@inbox.ru>2018-06-14 22:12:11 +0300
commitef8ee07753bfbf824e57eafc617acc7d921c0f38 (patch)
tree1847cbd76c70107e03cdd413cb55a97bfe329074 /src/map/script.c
parentfddfde994fe98843db6802f438a5f23941836642 (diff)
downloadhercules-ef8ee07753bfbf824e57eafc617acc7d921c0f38.tar.gz
hercules-ef8ee07753bfbf824e57eafc617acc7d921c0f38.tar.bz2
hercules-ef8ee07753bfbf824e57eafc617acc7d921c0f38.tar.xz
hercules-ef8ee07753bfbf824e57eafc617acc7d921c0f38.zip
Split enum zc_ui_types by supported packet versions.
Also fixed clif_open_ui for old clients.
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 1f4a42669..1a9f774a1 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -24168,7 +24168,9 @@ BUILDIN(openstylist)
if (sd == NULL)
return false;
+#if PACKETVER >= 20150128
clif->open_ui(sd, CZ_STYLIST_UI);
+#endif
return true;
}