aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-09-01 06:52:54 +0200
committerOvahlord <dreadkiller@gmx.de>2024-09-01 06:52:54 +0200
commitb5e681e682de50edaa98a3c619675477cf28b8d3 (patch)
treef7b8257d8456d469a532e5835e1c5ced8d262453 /src/server/scripts/Commands
parentb0f12aeceb33799fb934bb42eb58374dc8642479 (diff)
Core/Misc: removed most retail specialization code and restored legacy functionality for Classic
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_learn.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server/scripts/Commands/cs_learn.cpp b/src/server/scripts/Commands/cs_learn.cpp
index b8b43344dff..557e48fe04e 100644
--- a/src/server/scripts/Commands/cs_learn.cpp
+++ b/src/server/scripts/Commands/cs_learn.cpp
@@ -195,9 +195,6 @@ public:
if (playerClass != talentInfo->ClassID)
continue;
- if (talentInfo->SpecID && player->GetPrimarySpecialization() != ChrSpecialization(talentInfo->SpecID))
- continue;
-
SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(talentInfo->SpellID, DIFFICULTY_NONE);
if (!spellInfo || !SpellMgr::IsSpellValid(spellInfo, handler->GetSession()->GetPlayer(), false))
continue;