summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-11-03 03:35:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-11-03 17:12:49 +0300
commit365fb8f3accedaf1935b82fa1018d6df0161f683 (patch)
tree49c15a2df9197ff18e73a0faeaade58e4cfbe419 /src/map/clif.c
parent800c453308b2f846d38e8142eb9061ee3e8828f2 (diff)
downloadhercules-365fb8f3accedaf1935b82fa1018d6df0161f683.tar.gz
hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.tar.bz2
hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.tar.xz
hercules-365fb8f3accedaf1935b82fa1018d6df0161f683.zip
Fix version for packet 0x08b3 ZC_SHOWSCRIPT
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 031959be2..db9224329 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17865,6 +17865,7 @@ void clif_partytickack(struct map_session_data* sd, bool flag) {
void clif_ShowScript(struct block_list *bl, const char *message)
{
+#if PACKETVER >= 20110111
char buf[256];
int len;
nullpo_retv(bl);
@@ -17884,6 +17885,7 @@ void clif_ShowScript(struct block_list *bl, const char *message)
WBUFL(buf,4) = bl->id;
safestrncpy(WBUFP(buf,8),message,len);
clif->send(buf,WBUFW(buf,2),bl,AREA);
+#endif
}
void clif_status_change_end(struct block_list *bl, int tid, enum send_target target, int type) {