mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Core/Unit): Prevent Unit emote when entering combat (#6030)
This commit is contained in:
@@ -12922,6 +12922,7 @@ void Unit::CombatStart(Unit* target, bool initialAggro)
|
||||
|
||||
SetInCombatWith(target);
|
||||
target->SetInCombatWith(this);
|
||||
target->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_NONE);
|
||||
|
||||
// Xinef: If pet started combat - put owner in combat
|
||||
if (Unit* owner = GetOwner())
|
||||
|
||||
Reference in New Issue
Block a user