aboutsummaryrefslogtreecommitdiff
path: root/src/game/OutdoorPvPObjectiveAI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/OutdoorPvPObjectiveAI.cpp')
-rw-r--r--src/game/OutdoorPvPObjectiveAI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/OutdoorPvPObjectiveAI.cpp b/src/game/OutdoorPvPObjectiveAI.cpp
index ab82b6633ae..a99afbfbe5a 100644
--- a/src/game/OutdoorPvPObjectiveAI.cpp
+++ b/src/game/OutdoorPvPObjectiveAI.cpp
@@ -27,8 +27,8 @@
OutdoorPvPObjectiveAI::OutdoorPvPObjectiveAI(Creature *c) : i_creature(*c)
{
- sLog.outDebug("OutdoorPvP objective AI assigned to creature guid %u", c.GetGUIDLow());
- c.SetReactState(REACT_AGGRESSIVE);
+ sLog.outDebug("OutdoorPvP objective AI assigned to creature guid %u", i_creature.GetGUIDLow());
+ i_creature.SetReactState(REACT_AGGRESSIVE);
}
void OutdoorPvPObjectiveAI::MoveInLineOfSight(Unit *u)