Core/SAI: Implement SMART_ACTION_SET_HOME_POS (101)

No parameters; allowed targets: self and position

Closes #7689
This commit is contained in:
Santiago
2012-09-08 00:55:47 +01:00
committed by Nay
parent d0e1a6d742
commit e3b9b15779
3 changed files with 18 additions and 1 deletions
@@ -904,6 +904,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
case SMART_ACTION_SEND_GOSSIP_MENU:
case SMART_ACTION_GO_SET_LOOT_STATE:
case SMART_ACTION_SEND_TARGET_TO_TARGET:
case SMART_ACTION_SET_HOME_POS:
break;
default:
sLog->outError(LOG_FILTER_SQL, "SmartAIMgr: Not handled action_type(%u), event_type(%u), Entry %d SourceType %u Event %u, skipped.", e.GetActionType(), e.GetEventType(), e.entryOrGuid, e.GetScriptType(), e.event_id);