diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-11 20:55:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-11 20:55:54 +0000 |
commit | b307bb07a41dd6189bb4133e5095751b5547ad3c (patch) | |
tree | d290e9f88fb12d88138c2db8fb41e1b5fcd93cad /src/map/charcommand.c | |
parent | 9c48b73d948502c2784e43640401a2344de40a7f (diff) | |
download | hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.tar.gz hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.tar.bz2 hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.tar.xz hercules-b307bb07a41dd6189bb4133e5095751b5547ad3c.zip |
- Made @monsterignore be an universal ignore. Means you cannot be targetted as an enemy by anything. Also added alias "@battleignore" which does the same as monsterignore.
- Fixed magic power setting your min matk as max-matk.
- Modified the packets involved in @fakename in hopes it'll refresh correctly on nearby clients now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7620 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r-- | src/map/charcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c index 034fb017b..771fef36b 100644 --- a/src/map/charcommand.c +++ b/src/map/charcommand.c @@ -1246,7 +1246,7 @@ int charcommand_fakename( if(strlen(name) < 1 || !name) {
if(strlen(pl_sd->fakename) > 1) {
pl_sd->fakename[0]='\0';
- pc_setpos(pl_sd, pl_sd->mapindex, pl_sd->bl.x, sd->bl.y, 3);
+ clif_charnameack(0, &pl_sd->bl);
clif_displaymessage(sd->fd,"Returned to real name.");
} else {
clif_displaymessage(sd->fd,"Character does not has a fake name.");
@@ -1260,7 +1260,7 @@ int charcommand_fakename( }
memcpy(pl_sd->fakename,name, NAME_LENGTH-1);
- pc_setpos(pl_sd, pl_sd->mapindex, pl_sd->bl.x, pl_sd->bl.y, 3);
+ clif_charnameack(0, &pl_sd->bl);
clif_displaymessage(sd->fd,"Fake name enabled.");
return 0;
|