aboutsummaryrefslogtreecommitdiff
path: root/src/game/OutdoorPvP.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-05 18:48:56 -0600
committermegamage <none@none>2009-03-05 18:48:56 -0600
commit8787c00ca3eda49410cf9ecf2df53c2061628afd (patch)
treea82d8ac7ddbb9f678e30260d68137fd3d7818255 /src/game/OutdoorPvP.cpp
parent769c835f266c6e94e878d6e2db0118df1fa7b450 (diff)
*Disable charmed/possessed creature AI.
*Use general react states to replace charminfo react states. --HG-- branch : trunk
Diffstat (limited to 'src/game/OutdoorPvP.cpp')
-rw-r--r--src/game/OutdoorPvP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/OutdoorPvP.cpp b/src/game/OutdoorPvP.cpp
index 57f072ebbef..99b1c9a55f0 100644
--- a/src/game/OutdoorPvP.cpp
+++ b/src/game/OutdoorPvP.cpp
@@ -56,7 +56,7 @@ void OutdoorPvPObjective::HandlePlayerActivityChanged(Player * plr)
{
if(m_CapturePointCreature)
if(Creature * c = HashMapHolder<Creature>::Find(m_CapturePointCreature))
- if(c->AI())
+ if(c->IsAIEnabled)
c->AI()->MoveInLineOfSight(plr);
}