mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
*Fix build.
--HG-- branch : trunk
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user