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
This commit is contained in:
shennetsind 2012-01-03 21:16:58 +00:00
parent 4b3cf3e18a
commit dc64b3832f

View File

@ -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;