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

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-13 17:48:57 -06:00
parent 5f2edfc7e8
commit ce4c9cb2ae
4 changed files with 14 additions and 4 deletions

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;