summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2016-01-17 19:02:46 +0530
committerHaru <haru@dotalux.com>2016-03-19 22:27:31 +0100
commitf5ff79f1aca3e3fd1621913e275b0fc50a2cf062 (patch)
tree68cf723c49f20a9dbc948feff7181a8cfa1f44c7 /src/map/clif.c
parentadd2ea4f7944ccabfcaa67be9d9ee5a57fbfb97e (diff)
downloadhercules-f5ff79f1aca3e3fd1621913e275b0fc50a2cf062.tar.gz
hercules-f5ff79f1aca3e3fd1621913e275b0fc50a2cf062.tar.bz2
hercules-f5ff79f1aca3e3fd1621913e275b0fc50a2cf062.tar.xz
hercules-f5ff79f1aca3e3fd1621913e275b0fc50a2cf062.zip
status_get_name returns NULL instead of Unknown, Changed all functions to use clif_get_bl_name
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d7f47eadd..c678849b3 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -13284,7 +13284,7 @@ void clif_parse_GMKick(int fd, struct map_session_data *sd) {
case BL_PC:
{
char command[NAME_LENGTH+6];
- sprintf(command, "%ckick %s", atcommand->at_symbol, status->get_name(target));
+ sprintf(command, "%ckick %s", atcommand->at_symbol, clif->get_bl_name(target));
atcommand->exec(fd, sd, command, true);
}
break;
@@ -13299,7 +13299,7 @@ void clif_parse_GMKick(int fd, struct map_session_data *sd) {
clif->GM_kickack(sd, 0);
return;
}
- sprintf(command, "/kick %s (%d)", status->get_name(target), status->get_class(target));
+ sprintf(command, "/kick %s (%d)", clif->get_bl_name(target), status->get_class(target));
logs->atcommand(sd, command);
status_percent_damage(&sd->bl, target, 100, 0, true); // can invalidate 'target'
}