feat(Core/SmartScripts) Implement SMART_TARGET_VEHICLE_PASSENGER (#3510)

This commit is contained in:
Nefertumm
2021-04-03 15:25:36 -03:00
committed by GitHub
parent 4b74545744
commit 0d8aa2e8b1
3 changed files with 18 additions and 2 deletions

View File

@@ -402,7 +402,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
e.entryOrGuid, e.event_id, e.GetTargetType());
return false;
}
if (e.target.type == SMART_TARGET_LOOT_RECIPIENTS || e.target.type == SMART_TARGET_VEHICLE_PASSENGER)
if (e.target.type == SMART_TARGET_LOOT_RECIPIENTS)
{
sLog->outErrorDb("SmartAIMgr: EntryOrGuid %d using event(%u) has a target type that is not yet supported on AzerothCore (%u), skipped.",
e.entryOrGuid, e.event_id, e.GetTargetType());