From 54df245bb245ef02e936f9915054dc652f83a90c Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Wed, 10 Mar 2010 02:02:24 +0100 Subject: * Update AiReaction enum. --HG-- branch : trunk --- src/game/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 3e75a6409f0..93afd45e088 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -8990,7 +8990,7 @@ bool Unit::Attack(Unit *victim, bool meleeAttack) victim->SetInCombatWith(this); AddThreat(victim, 0.0f); - this->ToCreature()->SendAIReaction(AI_REACTION_AGGRO); + this->ToCreature()->SendAIReaction(AI_REACTION_HOSTILE); this->ToCreature()->CallAssistance(); } @@ -13895,7 +13895,7 @@ void Unit::SendPetAIReaction(uint64 guid) WorldPacket data(SMSG_AI_REACTION, 8 + 4); data << uint64(guid); - data << uint32(AI_REACTION_AGGRO); + data << uint32(AI_REACTION_HOSTILE); owner->ToPlayer()->GetSession()->SendPacket(&data); } -- cgit v1.2.3