summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2016-01-16 13:47:08 +0530
committerHaru <haru@dotalux.com>2016-03-19 22:27:33 +0100
commitf86ca8a192691c39e0726f03f0edd9e48c3a0871 (patch)
tree318c03dbe74a8c92085e4aa63bf8b15cfdfee089 /src/map/clif.c
parentf5ff79f1aca3e3fd1621913e275b0fc50a2cf062 (diff)
downloadhercules-f86ca8a192691c39e0726f03f0edd9e48c3a0871.tar.gz
hercules-f86ca8a192691c39e0726f03f0edd9e48c3a0871.tar.bz2
hercules-f86ca8a192691c39e0726f03f0edd9e48c3a0871.tar.xz
hercules-f86ca8a192691c39e0726f03f0edd9e48c3a0871.zip
Updated Entity Packets
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index c678849b3..69d9b6779 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1049,6 +1049,7 @@ void clif_set_unit_idle(struct block_list* bl, struct map_session_data *tsd, enu
#endif
#if PACKETVER >= 20150513
p.body = vd->body_style;
+ safestrncpy(p.name, clif->get_bl_name(bl), NAME_LENGTH);
#endif
clif->send(&p,sizeof(p),tsd?&tsd->bl:bl,target);
@@ -1189,6 +1190,7 @@ void clif_spawn_unit(struct block_list* bl, enum send_target target) {
#endif
#if PACKETVER >= 20150513
p.body = vd->body_style;
+ safestrncpy(p.name, clif->get_bl_name(bl), NAME_LENGTH);
#endif
if( disguised(bl) ) {
nullpo_retv(sd);
@@ -1280,6 +1282,7 @@ void clif_set_unit_walking(struct block_list* bl, struct map_session_data *tsd,
#endif
#if PACKETVER >= 20150513
p.body = vd->body_style;
+ safestrncpy(p.name, clif->get_bl_name(bl), NAME_LENGTH);
#endif
clif->send(&p,sizeof(p),tsd?&tsd->bl:bl,target);