Skip to content

Commit

Permalink
Corrected the showscript packet
Browse files Browse the repository at this point in the history
* Follow up to 43f25e3.
* The showscript packet was being sent to all players logged in which can be network intensive.
Thanks to @Tokeiburu!
  • Loading branch information
aleos89 committed Aug 16, 2016
1 parent e2bf685 commit 47a69c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/clif.c
Expand Up @@ -18099,7 +18099,7 @@ void clif_showscript(struct block_list* bl, const char* message) {
WBUFW(buf,2) = (uint16)(len+8);
WBUFL(buf,4) = bl->id;
safestrncpy((char *) WBUFP(buf,8), message, len);
clif_send((unsigned char *) buf, WBUFW(buf,2), bl, ALL_CLIENT);
clif_send((unsigned char *) buf, WBUFW(buf,2), bl, AREA);
}

/**
Expand Down

0 comments on commit 47a69c0

Please sign in to comment.