*Fix application of thread mod auras.

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2009-07-02 15:24:24 +02:00
parent 1f899caf75
commit 66e890b470
+1 -1
View File
@@ -36,7 +36,7 @@ float ThreatCalcHelper::calcThreat(Unit* pHatedUnit, Unit* pHatingUnit, float pT
{ {
if(pThreatSpell) if(pThreatSpell)
{ {
if( Player* modOwner = pHatingUnit->GetSpellModOwner() ) if( Player* modOwner = pHatedUnit->GetSpellModOwner() )
modOwner->ApplySpellMod(pThreatSpell->Id, SPELLMOD_THREAT, pThreat); modOwner->ApplySpellMod(pThreatSpell->Id, SPELLMOD_THREAT, pThreat);
} }