diff options
| author | megamage <none@none> | 2009-01-29 19:35:49 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-01-29 19:35:49 -0600 |
| commit | b0bf621a139aaa6e620098fc7a4411a800fda43d (patch) | |
| tree | a80cfed503a562c4e436814dc056e8b22386efef /src/game/OutdoorPvPObjectiveAI.cpp | |
| parent | 25ab1fa4adfe1e9be1f8bfb6701f6a0d48887770 (diff) | |
| parent | adee7cab17e191ab9d735c326cd611f0380736d6 (diff) | |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/OutdoorPvPObjectiveAI.cpp')
| -rw-r--r-- | src/game/OutdoorPvPObjectiveAI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/OutdoorPvPObjectiveAI.cpp b/src/game/OutdoorPvPObjectiveAI.cpp index e27c583eb25..a99afbfbe5a 100644 --- a/src/game/OutdoorPvPObjectiveAI.cpp +++ b/src/game/OutdoorPvPObjectiveAI.cpp @@ -25,10 +25,10 @@ #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); + sLog.outDebug("OutdoorPvP objective AI assigned to creature guid %u", i_creature.GetGUIDLow()); + i_creature.SetReactState(REACT_AGGRESSIVE); } void OutdoorPvPObjectiveAI::MoveInLineOfSight(Unit *u) |
