Revert "Core/Npc: Remove bytes1 once the npc start a combat"

This reverts commit 21b03e7d9bc9165f5e0cf4fbdc5bd9b1534dbcd7.
This commit is contained in:
Keader authored and Aokromes committed 2017-08-13 03:30:34 +02:00
1 parent bf77dadc48
commit abbdb9744e
1 file changed
+1 -2
+1 -2
View File
@@ -5542,9 +5542,8 @@ bool Unit::Attack(Unit* victim, bool meleeAttack)
creature->SendAIReaction(AI_REACTION_HOSTILE);
creature->CallAssistance();
// Remove emote state and bytes - will be restored on creature reset
// Remove emote state - will be restored on creature reset
SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_ONESHOT_NONE);
SetUInt32Value(UNIT_FIELD_BYTES_1, UNIT_STAND_STATE_STAND);
}
// delay offhand weapon attack to next attack time