aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index fcde116a71e..9a9682a1b16 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2397,8 +2397,8 @@ void SpellMgr::LoadSpellCustomAttr()
break;
case SPELLFAMILY_PRIEST:
// Penance
- if (spellInfo->SpellFamilyFlags[1] & 800000)
- m_spellProto->AttributesEx5 | SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY;
+ if (spellInfo->SpellFamilyFlags[1] & 0x800000)
+ spellInfo->AttributesEx5 |= SPELL_ATTR_EX5_START_PERIODIC_AT_APPLY;
break;
}
}