summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 05:03:27 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-23 05:03:27 +0000
commit317e424ab29a8d670657f639a46ec5519825fde3 (patch)
tree7f775f829c64c031785fc1a0cf0cc8688973d23c /src
parent3ba24f0eccf415199d16bf662cb994887c1e2992 (diff)
downloadhercules-317e424ab29a8d670657f639a46ec5519825fde3.tar.gz
hercules-317e424ab29a8d670657f639a46ec5519825fde3.tar.bz2
hercules-317e424ab29a8d670657f639a46ec5519825fde3.tar.xz
hercules-317e424ab29a8d670657f639a46ec5519825fde3.zip
Fixed bugreport:5324 Elemental Sword bautospellonskill recursion is now fully functional
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15775 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 847c39415..87fcc6dde 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1558,6 +1558,10 @@ int skill_onskillusage(struct map_session_data *sd, struct block_list *bl, int s
}
sd->autospell3[i].lock = false;
sd->state.autocast = 0;
+ /**
+ * bugreport:5324 trigger recursion
+ **/
+ skill_onskillusage(sd, bl, skill, tick);
}
if( sd && sd->autobonus3[0].rate )