Added missed changes for previous revision

This commit is contained in:
Shauren
2011-06-11 13:08:23 +02:00
parent 9b79df7074
commit ce8977d1ce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4606,7 +4606,7 @@ SpellCastResult Spell::CheckCast(bool strict)
}
}
if (m_spellInfo->AttributesEx7 & SPELL_ATTR7_DISABLED_CLIENT_SIDE && !m_caster->HasFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_ALLOW_CHEAT_SPELLS))
if (m_spellInfo->AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL && !m_caster->HasFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_ALLOW_CHEAT_SPELLS))
return SPELL_FAILED_SPELL_UNAVAILABLE;
// Check global cooldown