From bb82b741257eb5d389f61fc4ab202b629a58b0d9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Dec 2014 20:11:50 +0300 Subject: map: dont send additional byte in npc names --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index e10b2f5..4d3160c 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -79,7 +79,7 @@ void eclif_charnameack(int *fdPtr, struct block_list *bl) struct map_session_data* sd = (struct map_session_data*)session[fd]->session_data; const char *tr = lang_pctrans(((TBL_NPC*)bl)->name, sd); const int trLen = strlen(tr); - const int len = 8 + trLen + 1; + const int len = 8 + trLen; // if no recipient specified just update nearby clients if (fd == 0) { -- cgit v1.2.3-60-g2f50