Core/SmartAI: Missing parts on previous commit

By Malcrom
This commit is contained in:
Aokromes
2017-03-26 01:07:09 +01:00
parent 4dcc435207
commit abc8fe123b
2 changed files with 3 additions and 0 deletions

View File

@@ -386,6 +386,7 @@ bool SmartAIMgr::IsTargetValid(SmartScriptHolder const& e)
case SMART_TARGET_CLOSEST_FRIENDLY:
case SMART_TARGET_STORED:
case SMART_TARGET_LOOT_RECIPIENTS:
case SMART_TARGET_VEHICLE_ACCESSORY:
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());