aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-13 17:48:57 -0600
committermegamage <none@none>2009-03-13 17:48:57 -0600
commitce4c9cb2aeca0000e6ec7cccf5ae0951ad1e1266 (patch)
tree67b9a31ea40fce6f8c6b2193a584697b018211ae /src/game/Unit.h
parent5f2edfc7e899d7c6997e679f1b9737fb5e7e8d4d (diff)
*Allow not to switch to charmed AI for some scripts.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r--src/game/Unit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h
index d3455d83baa..f980692ef7b 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -1422,7 +1422,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
uint32 GetReducedThreatPercent() { return m_reducedThreatPercent; }
Unit *GetMisdirectionTarget() { return m_misdirectionTargetGUID ? GetUnit(*this, m_misdirectionTargetGUID) : NULL; }
- bool IsAIEnabled;
+ bool IsAIEnabled, NeedChangeAI;
protected:
explicit Unit ();