Core: define CREATURE_FAMILY_NONE to avoid magic numbers in code
This commit is contained in:
1 parent
dadd81afe0
commit
11636faadf
6 files changed
+10
-7
No files matched your search
@@ -508,6 +508,8 @@ class spell_warl_demonic_empowerment : public SpellScriptLoader
|
||||
case CREATURE_FAMILY_IMP:
|
||||
targetCreature->CastSpell(targetCreature, SPELL_WARLOCK_DEMONIC_EMPOWERMENT_IMP, true);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user