summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-02 20:11:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 20:11:50 +0300
commitbb82b741257eb5d389f61fc4ab202b629a58b0d9 (patch)
tree282fe5bf8107da6eb3acc7c1bd662eb14c7ebf13 /src/map
parent233834f14f2c790bb3dbe181b1acfa37bff259ae (diff)
downloadevol-hercules-bb82b741257eb5d389f61fc4ab202b629a58b0d9.tar.gz
evol-hercules-bb82b741257eb5d389f61fc4ab202b629a58b0d9.tar.bz2
evol-hercules-bb82b741257eb5d389f61fc4ab202b629a58b0d9.tar.xz
evol-hercules-bb82b741257eb5d389f61fc4ab202b629a58b0d9.zip
map: dont send additional byte in npc names
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
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)
{