diff options
author | megamage <none@none> | 2009-01-30 18:10:05 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-30 18:10:05 -0600 |
commit | 8fee06f041fbfbc7e22eccc03a8f12bd7a649999 (patch) | |
tree | 9512260148dabb87926131a225831e72980a250d /src/game/PossessedAI.cpp | |
parent | 03234a0657eca4836b1015556973629893c76958 (diff) |
*AI structure update.
--HG--
branch : trunk
Diffstat (limited to 'src/game/PossessedAI.cpp')
-rw-r--r-- | src/game/PossessedAI.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game/PossessedAI.cpp b/src/game/PossessedAI.cpp index 4292a2bd22b..f291221216a 100644 --- a/src/game/PossessedAI.cpp +++ b/src/game/PossessedAI.cpp @@ -107,12 +107,6 @@ void PossessedAI::UpdateAI(const uint32 diff) } } -bool PossessedAI::_isVisible(Unit *u) const -{ - return i_pet.GetDistance(u) < sWorld.getConfig(CONFIG_SIGHT_MONSTER) - && u->isVisibleForOrDetect(&i_pet,true); -} - void PossessedAI::JustDied(Unit *u) { // We died while possessed, disable our loot |