aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-25 16:01:19 +0100
committern0n4m3 <none@none>2009-12-25 16:01:19 +0100
commit3fedfe296d3e46b491b727db82b6a166806e8d5b (patch)
tree7e74a419b781ea2cf5608a6c68f80cdaec6f03f7 /src/game/SpellEffects.cpp
parent07e2920b6018e7da5a99b19614c6a5bd57ef0f46 (diff)
Fixed some typos
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 527a4726bdc..1ea261c57e0 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -700,7 +700,7 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
case SPELLFAMILY_PALADIN:
{
// Hammer of the Righteous
- else if (m_spellInfo->SpellFamilyFlags[1]&0x00040000)
+ if (m_spellInfo->SpellFamilyFlags[1]&0x00040000)
{
// Add main hand dps * effect[2] amount
float average = (m_caster->GetFloatValue(UNIT_FIELD_MINDAMAGE) + m_caster->GetFloatValue(UNIT_FIELD_MAXDAMAGE)) / 2;