summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index fba106fab..aeacf4929 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3921,6 +3921,8 @@ const char * status_get_name(struct block_list *bl)
return ((struct pet_data *)bl)->pet.name;
case BL_HOM:
return ((struct homun_data *)bl)->master->homunculus.name;
+ case BL_NPC:
+ return ((struct npc_data*)bl)->name;
default:
return "Unknown";
}