diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-10 21:36:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-10 21:36:41 +0300 |
commit | b76f34136a4e59e2e3f4545c32f8bf5a848883e5 (patch) | |
tree | 438763b4063a30640d5bdd40ebcb463ebcb27b59 | |
parent | c7c8e583bf2284bd87d016866d840c05df37cfc7 (diff) | |
download | evol-hercules-b76f34136a4e59e2e3f4545c32f8bf5a848883e5.tar.gz evol-hercules-b76f34136a4e59e2e3f4545c32f8bf5a848883e5.tar.bz2 evol-hercules-b76f34136a4e59e2e3f4545c32f8bf5a848883e5.tar.xz evol-hercules-b76f34136a4e59e2e3f4545c32f8bf5a848883e5.zip |
Remove null char symbol from packet send_changenpc_title.
-rw-r--r-- | src/emap/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |