From 116589c55a21a2f74d7961423f454124234087fc Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Sat, 19 Mar 2016 14:33:30 +0200 Subject: [PATCH] Change magic numbers to enum --- PlayerMethods.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerMethods.h b/PlayerMethods.h index d7504cd..dd8a997 100644 --- a/PlayerMethods.h +++ b/PlayerMethods.h @@ -3240,7 +3240,7 @@ namespace LuaPlayer { 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; if (player->HasSkill(entry->id))