diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-15 22:30:10 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-15 22:30:10 +0000 |
commit | 3a734c4ca7ee16ca6d0e4e5805606f83d21b14c4 (patch) | |
tree | f0db0e92b144de1ae61ef6f5d9364f7f7fe37f20 /src/map/unit.c | |
parent | 6457ffcc63e196af5458298be8c02b8195835356 (diff) | |
download | hercules-3a734c4ca7ee16ca6d0e4e5805606f83d21b14c4.tar.gz hercules-3a734c4ca7ee16ca6d0e4e5805606f83d21b14c4.tar.bz2 hercules-3a734c4ca7ee16ca6d0e4e5805606f83d21b14c4.tar.xz hercules-3a734c4ca7ee16ca6d0e4e5805606f83d21b14c4.zip |
Homunc Timers should be disabled when the homunc is vaporized or dead an re-enabled on call/resu
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8305 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index b70c88a97..1b7b67c11 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1595,6 +1595,8 @@ int unit_remove_map(struct block_list *bl, int clrtype) { } else if (bl->type == BL_HOM) { struct homun_data *hd = (struct homun_data *) bl; struct map_session_data *sd = hd->master; + merc_hom_hungry_timer_delete(hd); + merc_natural_heal_timer_delete(hd); if(!sd || !sd->homunculus.intimacy) { //He's going to be deleted. clif_emotion(bl, 28) ; //sob |