Selaa lähdekoodia

Fixed bug with lullaby not ending after moving out of ensamble area (with longing for freedom), bugreport:411

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15368 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 13 vuotta sitten
vanhempi
commit
dc64b3832f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/map/skill.c

+ 1 - 1
src/map/skill.c

@@ -12679,7 +12679,7 @@ int skill_unit_move_sub (struct block_list* bl, va_list ap)
 	//Necessary in case the group is deleted after calling on_place/on_out [Skotlex]
 	skill_id = unit->group->skill_id;
 
-	if( unit->group->interval != -1 && !(skill_get_unit_flag(skill_id)&UF_DUALMODE) )
+	if( unit->group->interval != -1 && !(skill_get_unit_flag(skill_id)&UF_DUALMODE) && skill_id != BD_LULLABY ) //Lullaby is the exception, bugreport:411
 	{	//Non-dualmode unit skills with a timer don't trigger when walking, so just return
 		if( dissonance ) skill_dance_switch(unit, 1);
 		return 0;