summaryrefslogtreecommitdiff
path: root/src/map/charcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-11 22:21:34 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-11 22:21:34 +0000
commit617311ef61537ed544e53e81956b8d687e8b8789 (patch)
treebb5ef9729e094e32cebe157b494b79742811a6b6 /src/map/charcommand.c
parent8f8e2e42ba3ea1416b80190a3006c061ef4ed8b5 (diff)
downloadhercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.gz
hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.bz2
hercules-617311ef61537ed544e53e81956b8d687e8b8789.tar.xz
hercules-617311ef61537ed544e53e81956b8d687e8b8789.zip
- Added player not attached crash prevention to countitem/countitem2
- Probably corrected delitem not deleting pet eggs at all. - Possibly nullpo fix on npcskilleffect - Corrected a warning when using #fakename - Hopefully fixed hidenpc/disablenpc not working on Guild flag sprites. - Mob skill state "anytarget" no longer triggers when the mob has an item-target (looting). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9991 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r--src/map/charcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index a3c546ab7..5eb03dd1f 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -1255,7 +1255,7 @@ int charcommand_fakename(
return -1;
}
- if(strlen(name) < 1 || !name) {
+ if(!name[0]) {
if(strlen(pl_sd->fakename) > 1) {
pl_sd->fakename[0]='\0';
clif_charnameack(0, &pl_sd->bl);