diff options
author | thenecromancer <none@none> | 2009-07-02 15:24:24 +0200 |
---|---|---|
committer | thenecromancer <none@none> | 2009-07-02 15:24:24 +0200 |
commit | 66e890b47097677c912a4657f42c791e05d1748b (patch) | |
tree | 9e48cade18267baf24a0f4681fc7553b2f6c389c /src/game/ThreatManager.cpp | |
parent | 1f899caf75ab3ddf17c70548b6e0c0c97a529b4d (diff) |
*Fix application of thread mod auras.
--HG--
branch : trunk
Diffstat (limited to 'src/game/ThreatManager.cpp')
-rw-r--r-- | src/game/ThreatManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/ThreatManager.cpp b/src/game/ThreatManager.cpp index e982cbbfe22..8cf3a76d0fe 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); } |