From f92b392439cd5f2b517e9c829d9f518e1f5b392a Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 2 Dec 2014 10:58:21 +0100 Subject: Removed petheal command - Follow-up to 8bb0078 Signed-off-by: Haru --- src/map/unit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 8bac548e2..3962e771e 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -2673,10 +2673,7 @@ int unit_free(struct block_list *bl, clr_type clrtype) { if( pd->s_skill ) { if (pd->s_skill->timer != INVALID_TIMER) { - if (pd->s_skill->id) - timer->delete(pd->s_skill->timer, pet->skill_support_timer); - else - timer->delete(pd->s_skill->timer, pet->heal_timer); + timer->delete(pd->s_skill->timer, pet->skill_support_timer); } aFree(pd->s_skill); pd->s_skill = NULL; -- cgit v1.2.3-70-g09d2