From b76f34136a4e59e2e3f4545c32f8bf5a848883e5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 10 Jul 2017 21:36:41 +0300 Subject: Remove null char symbol from packet send_changenpc_title. --- src/emap/send.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emap/send.c b/src/emap/send.c index 5292f7b..1428df7 100644 --- a/src/emap/send.c +++ b/src/emap/send.c @@ -294,7 +294,7 @@ void send_changenpc_title (struct map_session_data *sd, const int npcId, const c const int fd = sd->fd; const int len = (int)strlen(name); - const int sz = len + 5 + 4 + 2; + const int sz = len + 10; WFIFOHEAD (fd, sz); WFIFOW (fd, 0) = 0xb06; WFIFOW (fd, 2) = sz; -- cgit v1.2.3-60-g2f50