feat(Core/SmartScripts): SMART_ACTION_PLAY_CINEMATIC (#10231)

* cherry-pick commit (63aa5d1e35)
This commit is contained in:
IntelligentQuantum
2022-01-29 02:23:27 +03:30
committed by GitHub
parent 8f249a3d84
commit 9fadfa6499
3 changed files with 25 additions and 2 deletions

View File

@@ -1448,6 +1448,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
case SMART_ACTION_DO_ACTION:
case SMART_ACTION_SET_CORPSE_DELAY:
case SMART_ACTION_ATTACK_STOP:
case SMART_ACTION_PLAY_CINEMATIC:
break;
default:
LOG_ERROR("sql.sql", "SmartAIMgr: Not handled action_type({}), event_type({}), Entry {} SourceType {} Event {}, skipped.", e.GetActionType(), e.GetEventType(), e.entryOrGuid, e.GetScriptType(), e.event_id);