Core/AI: ported charm updates from 335
This commit is contained in:
1 parent
346ffe6e91
commit
949f92e0a1
125 files changed
+691
-720
No files matched your search
@@ -1058,7 +1058,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
}
|
||||
case SMART_ACTION_SET_IN_COMBAT_WITH_ZONE:
|
||||
{
|
||||
if (me && me->IsAIEnabled)
|
||||
if (me && me->IsAIEnabled())
|
||||
{
|
||||
me->AI()->DoZoneInCombat();
|
||||
TC_LOG_DEBUG("scripts.ai", "SmartScript::ProcessAction: SMART_ACTION_SET_IN_COMBAT_WITH_ZONE: Creature %u", me->GetGUID().GetCounter());
|
||||
|
||||
Reference in new issue
Block a user