summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-12-02 10:58:21 +0100
committerHaru <haru@dotalux.com>2014-12-02 10:58:21 +0100
commitf92b392439cd5f2b517e9c829d9f518e1f5b392a (patch)
tree49f308799deba3e6b54800c9220c518c03c67b97 /src/map/unit.c
parent93216b60f0a37c07ede003e9d548c892ae543cfe (diff)
downloadhercules-f92b392439cd5f2b517e9c829d9f518e1f5b392a.tar.gz
hercules-f92b392439cd5f2b517e9c829d9f518e1f5b392a.tar.bz2
hercules-f92b392439cd5f2b517e9c829d9f518e1f5b392a.tar.xz
hercules-f92b392439cd5f2b517e9c829d9f518e1f5b392a.zip
Removed petheal command
- Follow-up to 8bb0078 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c5
1 files changed, 1 insertions, 4 deletions
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;