*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-01-28 22:51:12 -06:00
parent 1d19b6bcca
commit adee7cab17
2 changed files with 3 additions and 3 deletions

View File

@@ -616,7 +616,7 @@ void Creature::InitPossessedAI()
if (!isPossessed()) return;
if (!i_AI_possessed)
i_AI_possessed = new PossessedAI(*this);
i_AI_possessed = new PossessedAI(this);
// Signal the old AI that it's been disabled
i_AI->OnPossess(true);

View File

@@ -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)