mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Change magic numbers to enum
This commit is contained in:
@@ -3240,7 +3240,7 @@ namespace LuaPlayer
|
|||||||
{
|
{
|
||||||
if (SkillLineEntry const* entry = sSkillLineStore.LookupEntry(i))
|
if (SkillLineEntry const* entry = sSkillLineStore.LookupEntry(i))
|
||||||
{
|
{
|
||||||
if (entry->categoryId == 10 || entry->categoryId == 12)
|
if (entry->categoryId == SKILL_CATEGORY_LANGUAGES || entry->categoryId == SKILL_CATEGORY_GENERIC)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (player->HasSkill(entry->id))
|
if (player->HasSkill(entry->id))
|
||||||
|
|||||||
Reference in New Issue
Block a user