From 66e890b47097677c912a4657f42c791e05d1748b Mon Sep 17 00:00:00 2001 From: thenecromancer Date: Thu, 2 Jul 2009 15:24:24 +0200 Subject: [PATCH] *Fix application of thread mod auras. --HG-- branch : trunk --- src/game/ThreatManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/ThreatManager.cpp b/src/game/ThreatManager.cpp index e982cbbfe2..8cf3a76d0f 100644 --- a/src/game/ThreatManager.cpp +++ b/src/game/ThreatManager.cpp @@ -36,7 +36,7 @@ float ThreatCalcHelper::calcThreat(Unit* pHatedUnit, Unit* pHatingUnit, float pT { if(pThreatSpell) { - if( Player* modOwner = pHatingUnit->GetSpellModOwner() ) + if( Player* modOwner = pHatedUnit->GetSpellModOwner() ) modOwner->ApplySpellMod(pThreatSpell->Id, SPELLMOD_THREAT, pThreat); }