summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorSkotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-03 14:36:00 +0000
committerSkotlex <Skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-03 14:36:00 +0000
commit419927ac9f5ea5b71b21b52728bb56925b797937 (patch)
tree8fe3adcbc09cd2f79f4a30dac35db73eda8c4cda /src/map/pet.c
parent9d4765e65ce8dd0eccd1cdd4dbaa346f5a9cd6ba (diff)
downloadhercules-419927ac9f5ea5b71b21b52728bb56925b797937.tar.gz
hercules-419927ac9f5ea5b71b21b52728bb56925b797937.tar.bz2
hercules-419927ac9f5ea5b71b21b52728bb56925b797937.tar.xz
hercules-419927ac9f5ea5b71b21b52728bb56925b797937.zip
- Merged a few minor bugfixes
- Merged in a bunch of the eA renewal support patch. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14368 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 816a98c0d..3e7e55e3c 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1181,13 +1181,11 @@ int pet_skill_support_timer(int tid, unsigned int tick, int id, intptr data)
pet_stop_attack(pd);
pet_stop_walking(pd,1);
-
+ pd->s_skill->timer=add_timer(tick+pd->s_skill->delay*1000,pet_skill_support_timer,sd->bl.id,0);
if (skill_get_inf(pd->s_skill->id) & INF_GROUND_SKILL)
unit_skilluse_pos(&pd->bl, sd->bl.x, sd->bl.y, pd->s_skill->id, pd->s_skill->lv);
else
unit_skilluse_id(&pd->bl, sd->bl.id, pd->s_skill->id, pd->s_skill->lv);
-
- pd->s_skill->timer=add_timer(tick+pd->s_skill->delay*1000,pet_skill_support_timer,sd->bl.id,0);
return 0;
}