diff options
| author | Ovahlord <dreadkiller@gmx.de> | 2024-09-01 06:52:54 +0200 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-09-01 06:52:54 +0200 |
| commit | b5e681e682de50edaa98a3c619675477cf28b8d3 (patch) | |
| tree | f7b8257d8456d469a532e5835e1c5ced8d262453 /src/server/scripts/Commands | |
| parent | b0f12aeceb33799fb934bb42eb58374dc8642479 (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.cpp | 3 |
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; |
