From b5e681e682de50edaa98a3c619675477cf28b8d3 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 1 Sep 2024 06:52:54 +0200 Subject: Core/Misc: removed most retail specialization code and restored legacy functionality for Classic --- src/server/scripts/Commands/cs_learn.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/server/scripts/Commands') 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; -- cgit v1.2.3