Core/SAI: Remove SMART_ACTION_SEND_GO_CUSTOM_ANIM, make SMART_ACTION_ADD_AURA & SMART_ACTION_SET_GO_FLAG deprecated (#27452)

(cherry picked from commit 7709837539)
This commit is contained in:
offl
2021-12-23 02:09:52 +02:00
committed by Shauren
parent 4755db7987
commit 9ea8cdb457
3 changed files with 4 additions and 16 deletions
@@ -1857,13 +1857,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
target->ToUnit()->InterruptNonMeleeSpells(e.action.interruptSpellCasting.withDelayed != 0, e.action.interruptSpellCasting.spell_id, e.action.interruptSpellCasting.withInstant != 0);
break;
}
case SMART_ACTION_SEND_GO_CUSTOM_ANIM:
{
for (WorldObject* target : targets)
if (IsGameObject(target))
target->ToGameObject()->SendCustomAnim(e.action.sendGoCustomAnim.anim);
break;
}
case SMART_ACTION_JUMP_TO_POS:
{
for (WorldObject* target : targets)