Fixed bugreport:5324 Elemental Sword bautospellonskill recursion is now fully functional

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15775 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2012-03-23 05:03:27 +00:00
parent b0c15a2eeb
commit 7ddb5fa88a

View File

@ -1558,6 +1558,10 @@ int skill_onskillusage(struct map_session_data *sd, struct block_list *bl, int s
} }
sd->autospell3[i].lock = false; sd->autospell3[i].lock = false;
sd->state.autocast = 0; sd->state.autocast = 0;
/**
* bugreport:5324 trigger recursion
**/
skill_onskillusage(sd, bl, skill, tick);
} }
if( sd && sd->autobonus3[0].rate ) if( sd && sd->autobonus3[0].rate )