From 8787c00ca3eda49410cf9ecf2df53c2061628afd Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 5 Mar 2009 18:48:56 -0600 Subject: *Disable charmed/possessed creature AI. *Use general react states to replace charminfo react states. --HG-- branch : trunk --- src/game/OutdoorPvP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/OutdoorPvP.cpp') 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::Find(m_CapturePointCreature)) - if(c->AI()) + if(c->IsAIEnabled) c->AI()->MoveInLineOfSight(plr); } -- cgit v1.2.3