Core/SmartAI: added ACTION_RANDOM_MOVE

--HG--
branch : trunk
This commit is contained in:
Rat
2010-11-20 13:23:29 +01:00
parent c1ec8c80de
commit e3c6723a8d
3 changed files with 12 additions and 1 deletions

View File

@@ -768,6 +768,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder &e)
case SMART_ACTION_CROSS_CAST:
case SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST:
case SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST:
case SMART_ACTION_RANDOM_MOVE:
break;
default:
sLog.outErrorDb("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);