aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQAston <none@none>2009-07-30 22:17:43 +0200
committerQAston <none@none>2009-07-30 22:17:43 +0200
commit3c59e4d9a0351bb681b209012ca0f741ff3760ed (patch)
treed2b756cabf46651f6aef63ca0fd6c9fad0b378e6 /src
parent659a555bdce52b50d04d00266cd0afe38748a03c (diff)
*Fix penance client crash when interrupting it by esc - by thenecromancer.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 724c57c48b6..2e683e05122 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1478,9 +1478,9 @@ void Spell::EffectDummy(uint32 i)
return;
}
if (m_caster->IsFriendlyTo(unitTarget))
- m_caster->CastSpell(unitTarget, heal, true, 0);
+ m_caster->CastSpell(unitTarget, heal, false, 0);
else
- m_caster->CastSpell(unitTarget, hurt, true, 0);
+ m_caster->CastSpell(unitTarget, hurt, false, 0);
return;
}
break;