diff options
author | megamage <none@none> | 2009-03-13 17:48:57 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-13 17:48:57 -0600 |
commit | ce4c9cb2aeca0000e6ec7cccf5ae0951ad1e1266 (patch) | |
tree | 67b9a31ea40fce6f8c6b2193a584697b018211ae /src/game/Unit.cpp | |
parent | 5f2edfc7e899d7c6997e679f1b9737fb5e7e8d4d (diff) |
*Allow not to switch to charmed AI for some scripts.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 886020459b1..76a2cb264d4 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; |