diff options
author | megamage <none@none> | 2009-03-12 14:15:44 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-12 14:15:44 -0600 |
commit | 1fbfc6da645058a6da3073dafde0e6bca621e31c (patch) | |
tree | e8046c844ec548cdee29d8eee5c9ecfc1b9d9ec2 /src/game/Unit.h | |
parent | ab6e9bd7b43b2bbce899a780cdd942ac137e7d99 (diff) |
*Assign possessed AI and pet AI to charmed creatures.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.h')
-rw-r--r-- | src/game/Unit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Unit.h b/src/game/Unit.h index d103525208c..f73a5386aef 100644 --- a/src/game/Unit.h +++ b/src/game/Unit.h @@ -1109,6 +1109,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject CharmInfo* GetCharmInfo() { return m_charmInfo; } CharmInfo* InitCharmInfo(); void DeleteCharmInfo(); + void UpdateCharmAI(); SharedVisionList const& GetSharedVisionList() { return m_sharedVision; } void AddPlayerToVision(Player* plr); void RemovePlayerFromVision(Player* plr); @@ -1424,6 +1425,8 @@ class TRINITY_DLL_SPEC Unit : public WorldObject protected: explicit Unit (); + UnitAI *i_AI, *i_disabledAI; + void _UpdateSpells(uint32 time); void _UpdateAutoRepeatSpell(); |