diff options
author | Rat <gmstreetrat@gmail.com> | 2014-11-11 16:22:31 +0100 |
---|---|---|
committer | Rat <gmstreetrat@gmail.com> | 2014-11-11 16:22:31 +0100 |
commit | 1918a3be6aedaf7a137e5c6dd8f3c0f791b96a2f (patch) | |
tree | 211407137d1ff5d4c4a0f43a1c452f0645f0f0be /src/server/game/Chat/ChatLink.cpp | |
parent | b978f0286c4ff1f00d4806b332f825df80c0112e (diff) | |
parent | 9120eef500bacbe7d54cdf4c5e1e07528854a49a (diff) |
Merge pull request #13529 from Intel/talents
Core/Talents: Update talent system, remove talent points. author: Intel
Diffstat (limited to 'src/server/game/Chat/ChatLink.cpp')
-rw-r--r-- | src/server/game/Chat/ChatLink.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/ChatLink.cpp b/src/server/game/Chat/ChatLink.cpp index e671713c643..eb99a19cf78 100644 --- a/src/server/game/Chat/ChatLink.cpp +++ b/src/server/game/Chat/ChatLink.cpp @@ -451,10 +451,10 @@ bool TalentChatLink::Initialize(std::istringstream& iss) return false; } // Validate talent's spell - _spell = sSpellMgr->GetSpellInfo(talentInfo->RankID[0]); + _spell = sSpellMgr->GetSpellInfo(talentInfo->SpellID); if (!_spell) { - TC_LOG_TRACE("chat.system", "ChatHandler::isValidChatMessage('%s'): got invalid spell id %u in |trade command", iss.str().c_str(), talentInfo->RankID[0]); + TC_LOG_TRACE("chat.system", "ChatHandler::isValidChatMessage('%s'): got invalid spell id %u in |trade command", iss.str().c_str(), talentInfo->SpellID); return false; } // Delimiter |