Core/SAI: Add the ability to remove UNIT_FIELD_BYTES_1 in SAI (action

91)
This commit is contained in:
runningnak3d
2011-02-07 10:15:54 -07:00
parent f7eba9c940
commit 97882544e1
3 changed files with 21 additions and 4 deletions

View File

@@ -767,6 +767,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder &e)
case SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST:
case SMART_ACTION_RANDOM_MOVE:
case SMART_ACTION_SET_UNIT_FIELD_BYTES_1:
case SMART_ACTION_REMOVE_UNIT_FIELD_BYTES_1:
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);