aboutsummaryrefslogtreecommitdiff
path: root/src/game/OutdoorPvP.cpp
diff options
context:
space:
mode:
authorBlaymoira <none@none>2009-03-06 20:14:07 +0100
committerBlaymoira <none@none>2009-03-06 20:14:07 +0100
commitb49732c04db0d5bf67bf78e73e9c22f2078fd47c (patch)
treee445fa32d805789d966505ffac97535152e852f6 /src/game/OutdoorPvP.cpp
parentba05670747d7f5cc91ce4e623f2b89ba60e8081e (diff)
parent0b9d3f95de06da9e23bdd075a286679395dab49c (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 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);
}