*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:
megamage committed 2008-11-30 17:48:10 -06:00
1 parent daae039062
commit 6ab74d1ba4
2 files changed
+3 -3

No files matched your search

+1 -2
View File
@@ -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)