aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-30 17:48:10 -0600
committermegamage <none@none>2008-11-30 17:48:10 -0600
commit6ab74d1ba4375702de31828d1d0dd7fd8569db15 (patch)
treea5013f209be2f716f35276af24c0971b548af18a /src/game/Unit.cpp
parentdaae03906298c1ed84b76cf68777e530c6323cdf (diff)
*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
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 303e154ab71..0052efe95ce 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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)