mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/SAI: Make SMART_EVENT_WAYPOINT_START & SMART_EVENT_CHARMED_TARGET deprecated
Deprecated events and actions will be removed after 2 weeks
(cherry picked from commit 9e78329c8b)
This commit is contained in:
@@ -1530,6 +1530,8 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
|
||||
{
|
||||
// Deprecated
|
||||
case SMART_EVENT_EVENT_PHASE_CHANGE:
|
||||
case SMART_EVENT_WAYPOINT_START:
|
||||
case SMART_EVENT_CHARMED_TARGET:
|
||||
TC_LOG_WARN("sql.sql.deprecation", "SmartAIMgr: Deprecated event_type(%u), Entry " SI64FMTD " SourceType %u Event %u Action %u, it might be removed in the future, loaded for now.", e.GetEventType(), e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType());
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user