*Allow not to switch to charmed AI for some scripts.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-13 17:48:57 -06:00
1 parent 5f2edfc7e8
commit ce4c9cb2ae
4 files changed
+14 -4

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ bool IsPassiveStackableSpell( uint32 spellId )
Unit::Unit()
: WorldObject(), i_motionMaster(this), m_ThreatManager(this), m_HostilRefManager(this)
, m_IsInNotifyList(false), m_Notified(false), IsAIEnabled(false)
, m_IsInNotifyList(false), m_Notified(false), IsAIEnabled(false), NeedChangeAI(false)
, i_AI(NULL), i_disabledAI(NULL)
{
m_objectType |= TYPEMASK_UNIT;