From 087f735251a248217627a362f122b671a618729c Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 7 Dec 2008 09:21:12 -0600 Subject: *Use react state instead of isaggressive. Allow civilian to fight back. --HG-- branch : trunk --- src/game/OutdoorPvPObjectiveAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/OutdoorPvPObjectiveAI.cpp') diff --git a/src/game/OutdoorPvPObjectiveAI.cpp b/src/game/OutdoorPvPObjectiveAI.cpp index e8595e791f7..e27c583eb25 100644 --- a/src/game/OutdoorPvPObjectiveAI.cpp +++ b/src/game/OutdoorPvPObjectiveAI.cpp @@ -28,7 +28,7 @@ OutdoorPvPObjectiveAI::OutdoorPvPObjectiveAI(Creature &c) : i_creature(c) { sLog.outDebug("OutdoorPvP objective AI assigned to creature guid %u", c.GetGUIDLow()); - c.SetAggressive(true); + c.SetReactState(REACT_AGGRESSIVE); } void OutdoorPvPObjectiveAI::MoveInLineOfSight(Unit *u) -- cgit v1.2.3