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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/OutdoorPvPObjectiveAI.cpp b/src/game/OutdoorPvPObjectiveAI.cpp
index e27c583eb25..ab82b6633ae 100644
--- a/src/game/OutdoorPvPObjectiveAI.cpp
+++ b/src/game/OutdoorPvPObjectiveAI.cpp
@@ -25,7 +25,7 @@
#define MAX_OUTDOOR_PVP_DISTANCE 200 // the max value in capture point type go data0 is 100 currently, so use twice that much to handle leaving as well
-OutdoorPvPObjectiveAI::OutdoorPvPObjectiveAI(Creature &c) : i_creature(c)
+OutdoorPvPObjectiveAI::OutdoorPvPObjectiveAI(Creature *c) : i_creature(*c)
{
sLog.outDebug("OutdoorPvP objective AI assigned to creature guid %u", c.GetGUIDLow());
c.SetReactState(REACT_AGGRESSIVE);