diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-19 17:23:22 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-19 17:23:22 +0000 |
commit | 8b397b940a270a4e4107f76614339742a8c5a257 (patch) | |
tree | fec95c260beb58669be760396a3eb0241ba9dfa4 /src/map/status.c | |
parent | 9f1bd225974beb0a09495a0b28c1e0deec27de7d (diff) | |
download | hercules-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.c | 2 |
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";
}
|