diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 20:10:03 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 20:10:03 +0000 |
commit | 7e76563c42771e111ccef19eb7ca95e8f4a979e8 (patch) | |
tree | 56a4053b39d04e6c9106a45fc38eae27e773cc75 /src/map | |
parent | 016bca1491bb5f685bf8ccb2dff81b48dbdc70e4 (diff) | |
download | hercules-7e76563c42771e111ccef19eb7ca95e8f4a979e8.tar.gz hercules-7e76563c42771e111ccef19eb7ca95e8f4a979e8.tar.bz2 hercules-7e76563c42771e111ccef19eb7ca95e8f4a979e8.tar.xz hercules-7e76563c42771e111ccef19eb7ca95e8f4a979e8.zip |
Fixed AM_REST not closing the homunc status window
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8442 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index bfc4c15fb..96fa3451e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -5473,9 +5473,12 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in } break; - case AM_REST: //[orn] - if (sd && !merc_hom_vaporize(sd,1)) - clif_skill_fail(sd,skillid,0,0); + case AM_REST: + if (sd) + if (merc_hom_vaporize(sd,1)) + clif_skill_nodamage(src, bl, skillid, skilllv, 1); + else + clif_skill_fail(sd,skillid,0,0); break; case HAMI_CASTLE: //[orn] |