Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying seat mask instead of single seat index (can now target all passengers) (#21245)

(cherry picked from commit 891bca934e1522fe33b00e27eef5d4f07bb83fa8)
This commit is contained in:
Moein
2021-06-15 23:37:25 +02:00
committed by Shauren
parent 6ba82b56dc
commit 172df39350
4 changed files with 9 additions and 8 deletions
@@ -526,7 +526,7 @@ bool SmartAIMgr::IsTargetValid(SmartScriptHolder const& e)
case SMART_TARGET_STORED:
case SMART_TARGET_LOOT_RECIPIENTS:
case SMART_TARGET_FARTHEST:
case SMART_TARGET_VEHICLE_ACCESSORY:
case SMART_TARGET_VEHICLE_PASSENGER:
break;
default:
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Not handled target_type(%u), Entry " SI64FMTD " SourceType %u Event %u Action %u, skipped.", e.GetTargetType(), e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType());