Explorar o código

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
shennetsind %!s(int64=13) %!d(string=hai) anos
pai
achega
7ddb5fa88a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/map/skill.c

+ 4 - 0
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 )