diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-02 20:11:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-02 20:11:50 +0300 |
commit | bb82b741257eb5d389f61fc4ab202b629a58b0d9 (patch) | |
tree | 282fe5bf8107da6eb3acc7c1bd662eb14c7ebf13 /src/map | |
parent | 233834f14f2c790bb3dbe181b1acfa37bff259ae (diff) | |
download | evol-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.c | 2 |
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) { |