mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
pet attack and bot target selection
This commit is contained in:
@@ -94,7 +94,7 @@ bool EmoteActionBase::Emote(Unit* target, uint32 type, bool textEmote)
|
||||
ObjectGuid oldSelection = bot->GetTarget();
|
||||
if (target)
|
||||
{
|
||||
bot->SetTarget(target->GetGUID());
|
||||
bot->SetSelection(target->GetGUID());
|
||||
|
||||
Player* player = dynamic_cast<Player*>(target);
|
||||
if (player)
|
||||
|
||||
Reference in New Issue
Block a user