summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-10 21:36:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-10 21:36:41 +0300
commitb76f34136a4e59e2e3f4545c32f8bf5a848883e5 (patch)
tree438763b4063a30640d5bdd40ebcb463ebcb27b59 /src/emap
parentc7c8e583bf2284bd87d016866d840c05df37cfc7 (diff)
downloadevol-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.
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/send.c2
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;