aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkrz <none@none>2009-06-11 22:35:48 +0200
committerkrz <none@none>2009-06-11 22:35:48 +0200
commit4fd99adaa514818696e8d1498291081a8717885e (patch)
tree707788d12170fe4156d7a8c8f6b018abd9fa82ae /src
parenta6d7f0805c5170036403c5902d77cdd0069b5ab3 (diff)
Fix Crusader Strike.
It will correctly refresh all judgements on target. --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index a8e15ebf691..e07b2aef98a 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -1304,7 +1304,7 @@ void Unit::DealSpellDamage(SpellNonMeleeDamage *damageInfo, bool durabilityLoss)
for(AuraMap::iterator itr = vAuras.begin(); itr != vAuras.end(); ++itr)
{
SpellEntry const *spellInfo = (*itr).second->GetSpellProto();
- if( spellInfo->AttributesEx3 & 0x40000 && spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && ((*itr).second->GetCasterGUID() == GetGUID()))
+ if(spellInfo->SpellFamilyName == SPELLFAMILY_PALADIN && spellInfo->AttributesEx3 & 0x40000)
{
(*itr).second->SetAuraDuration((*itr).second->GetAuraMaxDuration());
(*itr).second->UpdateAuraDuration();