*Fix the bug that server crashes when loading.
*Fix the bug that rogue does not remove stealth aura when do melee attack. --HG-- branch : trunk
This commit is contained in:
1 parent
daae039062
commit
6ab74d1ba4
2 files changed
+3
-3
No files matched your search
+1
-2
@@ -9764,8 +9764,7 @@ void Unit::CombatStart(Unit* target)
|
||||
if(Player* attackedPlayer = target->GetCharmerOrOwnerPlayerOrPlayerItself())
|
||||
SetContestedPvP(attackedPlayer);
|
||||
|
||||
if(!isInCombat()) // remove this?
|
||||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_ATTACK);
|
||||
RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_ATTACK);
|
||||
}
|
||||
|
||||
void Unit::SetInCombatState(bool PvP)
|
||||
|
||||
Reference in new issue
Block a user