DB/SAI: Replace SMART_ACTION_SEND_GO_CUSTOM_ANIM with GameObjectActions

Port From (https://github.com/TrinityCore/TrinityCore/commit/3cfca163598b604ac8afe76efa6a3062c8fc087d)
This commit is contained in:
hondacrx
2022-05-30 14:18:50 -04:00
parent ae6c864107
commit c3b1daca3f
@@ -2109,6 +2109,17 @@ namespace Game.AI
return false;
}
// Additional check for deprecated
switch (e.GetActionType())
{
// Deprecated
case SmartActions.SendGoCustomAnim:
Log.outWarn(LogFilter.Sql, $"SmartAIMgr: Deprecated action_type: {e}, it might be removed in the future, loaded for now.");
break;
default:
break;
}
if (!CheckUnusedActionParams(e))
return false;