[11975] Use a few more enums instead of magic numbers

This commit is contained in:
Schmoozerd 2012-04-22 23:34:59 +02:00
parent 5d445d5da9
commit 1f24d991e3
3 changed files with 7 additions and 7 deletions

View file

@ -3575,7 +3575,7 @@ bool SpellMgr::IsSpellValid(SpellEntry const* spellInfo, Player* pl, bool msg)
{
switch(spellInfo->Effect[i])
{
case 0:
case SPELL_EFFECT_NONE:
continue;
// craft spell for crafting nonexistent item (break client recipes list show)