aboutsummaryrefslogtreecommitdiff
path: root/src/game/OutdoorPvP.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-06 18:09:01 -0600
committermegamage <none@none>2009-03-06 18:09:01 -0600
commit7915fd768a34604f6edf6be63bdf77fb2663d556 (patch)
tree372241b979bda672dcc03c9f203a1928848bc553 /src/game/OutdoorPvP.cpp
parent13fc3dcd7e95288cd9482e7440df3b15a3c580cb (diff)
parentb49732c04db0d5bf67bf78e73e9c22f2078fd47c (diff)
*Merge.
--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 b48a226d6a4..8aa117b5c4a 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);
}