From 42d26584d4b8e0bfb3c50bdd5112a4c29003ea42 Mon Sep 17 00:00:00 2001 From: toms Date: Mon, 21 Aug 2006 19:33:51 +0000 Subject: Fixed AM_RESURRECTION, thanks to RockmanEXE for %HP values git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8409 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mercenary.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/mercenary.c') diff --git a/src/map/mercenary.c b/src/map/mercenary.c index 6b508429f..53bc562b7 100644 --- a/src/map/mercenary.c +++ b/src/map/mercenary.c @@ -820,7 +820,9 @@ int merc_revive_homunculus(struct map_session_data *sd, unsigned char per, short map_addblock(&sd->hd->bl); clif_spawn(&sd->hd->bl); } - return status_revive(&hd->bl, per, 0); + status_revive(&hd->bl, per, 0); + sd->homunculus.hp = hd->battle_status.hp; + return 1; } void merc_homun_revive(struct homun_data *hd, unsigned int hp, unsigned int sp) -- cgit v1.2.3-60-g2f50