summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-03-19 22:53:58 +0100
committerHaru <haru@dotalux.com>2016-03-19 22:53:58 +0100
commit100d5364c2e70ddf3285beac74e5032a894cbd43 (patch)
tree318c03dbe74a8c92085e4aa63bf8b15cfdfee089 /src/map/script.c
parent87743b42265d5f35c9ac13118c2185397bf1a75f (diff)
parentf86ca8a192691c39e0726f03f0edd9e48c3a0871 (diff)
downloadhercules-100d5364c2e70ddf3285beac74e5032a894cbd43.tar.gz
hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.tar.bz2
hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.tar.xz
hercules-100d5364c2e70ddf3285beac74e5032a894cbd43.zip
Merge pull request #1106 from dastgir/21-2015QuickFix
Updated Entity Packets
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 67413669b..1128f400f 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -235,9 +235,9 @@ void script_reportsrc(struct script_state *st) {
break;
default:
if( bl->m >= 0 )
- ShowDebug("Source (Non-NPC type %u): name %s at %s (%d,%d)\n", bl->type, status->get_name(bl), map->list[bl->m].name, bl->x, bl->y);
+ ShowDebug("Source (Non-NPC type %u): name %s at %s (%d,%d)\n", bl->type, clif->get_bl_name(bl), map->list[bl->m].name, bl->x, bl->y);
else
- ShowDebug("Source (Non-NPC type %u): name %s (invisible/not on a map)\n", bl->type, status->get_name(bl));
+ ShowDebug("Source (Non-NPC type %u): name %s (invisible/not on a map)\n", bl->type, clif->get_bl_name(bl));
break;
}
}
@@ -16817,7 +16817,7 @@ BUILDIN(unittalk) {
if( bl != NULL ) {
struct StringBuf sbuf;
StrBuf->Init(&sbuf);
- StrBuf->Printf(&sbuf, "%s : %s", status->get_name(bl), message);
+ StrBuf->Printf(&sbuf, "%s : %s", clif->get_bl_name(bl), message);
clif->disp_overhead(bl, StrBuf->Value(&sbuf));
StrBuf->Destroy(&sbuf);
}