diff options
author | Haru <haru@dotalux.com> | 2019-04-07 23:45:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-07 23:45:51 +0200 |
commit | a3a1e366f479a80d983a0c476c4cdc6ad3643a03 (patch) | |
tree | c0e5ba9127f858449bae19846f518df9ad9658d0 /src/map/clif.c | |
parent | f89a6da63a50cefa8251d1a84f40d85cf109bd4e (diff) | |
parent | f61b8dac943cf2c0e3a67659134c424d57064617 (diff) | |
download | hercules-a3a1e366f479a80d983a0c476c4cdc6ad3643a03.tar.gz hercules-a3a1e366f479a80d983a0c476c4cdc6ad3643a03.tar.bz2 hercules-a3a1e366f479a80d983a0c476c4cdc6ad3643a03.tar.xz hercules-a3a1e366f479a80d983a0c476c4cdc6ad3643a03.zip |
Merge pull request #2415 from AnnieRuru/76-showscript
Add optional parameter for *showscript to send target to SELF only
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 109f78553..cd3131181 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -19374,7 +19374,7 @@ static void clif_partytickack(struct map_session_data *sd, bool flag) WFIFOSET(sd->fd, packet_len(0x2c9)); } -static void clif_ShowScript(struct block_list *bl, const char *message) +static void clif_ShowScript(struct block_list *bl, const char *message, enum send_target target) { #if PACKETVER >= 20110111 char buf[256]; @@ -19395,7 +19395,7 @@ static void clif_ShowScript(struct block_list *bl, const char *message) WBUFW(buf,2) = len+8; WBUFL(buf,4) = bl->id; safestrncpy(WBUFP(buf,8),message,len); - clif->send(buf,WBUFW(buf,2),bl,AREA); + clif->send(buf, WBUFW(buf,2), bl, target); #endif } |