mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11975] Use a few more enums instead of magic numbers
This commit is contained in:
parent
5d445d5da9
commit
1f24d991e3
3 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue