summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 17:23:22 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-19 17:23:22 +0000
commit8b397b940a270a4e4107f76614339742a8c5a257 (patch)
treefec95c260beb58669be760396a3eb0241ba9dfa4 /src/map/status.c
parent9f1bd225974beb0a09495a0b28c1e0deec27de7d (diff)
downloadhercules-8b397b940a270a4e4107f76614339742a8c5a257.tar.gz
hercules-8b397b940a270a4e4107f76614339742a8c5a257.tar.bz2
hercules-8b397b940a270a4e4107f76614339742a8c5a257.tar.xz
hercules-8b397b940a270a4e4107f76614339742a8c5a257.zip
- Made the report_Src function also report name of non-bl objects.
- The double continuation error will now display both scripts that triggered it. - Loading the storage from the char-server will fail if player is already tagged in final save state. - Removed setting ban_spoof_namer, sending invalid global-talk packets will now just kick the player out of the server. - Added BL_NPC support to status_get_name git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8812 54d463be-8e91-2dee-dedb-b68131a5f0ec
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";
}