Build fix
(cherry picked from commit add2179b75fb9944cf62b7dba8f120f5c8971ec7)
This commit is contained in:
@@ -2609,20 +2609,17 @@ public:
|
||||
|
||||
void ReceiveEmote(Player* player, uint32 emote) override
|
||||
{
|
||||
if (Unit* owner = me->GetCharmerOrOwner())
|
||||
{
|
||||
me->InterruptSpell(CURRENT_CHANNELED_SPELL);
|
||||
me->StopMoving();
|
||||
me->InterruptSpell(CURRENT_CHANNELED_SPELL);
|
||||
me->StopMoving();
|
||||
|
||||
switch (emote)
|
||||
{
|
||||
switch (emote)
|
||||
{
|
||||
case TEXT_EMOTE_BOW:
|
||||
_events.ScheduleEvent(EVENT_FOCUS, 1000);
|
||||
break;
|
||||
case TEXT_EMOTE_DRINK:
|
||||
_events.ScheduleEvent(EVENT_DRINK, 1000);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user