aboutsummaryrefslogtreecommitdiff
path: root/src/game/Spell.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-02-25 22:15:14 +0100
committerQAston <none@none>2009-02-25 22:15:14 +0100
commitdea0b1c5a69dad8f3645f2a4f6634f50fdb3ad08 (patch)
treeb5df3a8e4d517ba0faf396a73f6b7523215c8094 /src/game/Spell.cpp
parente7ca6e811711ac935a2411fb7c670b7b25bd0d85 (diff)
*Fix Prayer of mending bonus healing.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
-rw-r--r--src/game/Spell.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 90a22d963e9..8f8118e48e2 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1171,7 +1171,10 @@ void Spell::DoSpellHitOnUnit(Unit *unit, const uint32 effectMask)
// assisting case, healing and resurrection
if(unit->hasUnitState(UNIT_STAT_ATTACK_PLAYER))
+ {
m_caster->SetContestedPvP();
+ if m_caster->UpdatePvP(true);
+ }
if( unit->isInCombat() && !(m_spellInfo->AttributesEx3 & SPELL_ATTR_EX3_NO_INITIAL_AGGRO) )
{
m_caster->SetInCombatState(unit->GetCombatTimer() > 0);