diff options
| author | Intel <chemicstry@gmail.com> | 2014-11-10 21:09:18 +0200 |
|---|---|---|
| committer | Intel <chemicstry@gmail.com> | 2014-11-10 21:09:18 +0200 |
| commit | 24850994b4fc1b285e84f2f44f2278bf3a091900 (patch) | |
| tree | 774312cc1e1918f7878947a7024e13827eb6eabd /src/server/game/Chat/ChatLink.cpp | |
| parent | e90ef4fa24a1da7f4d7433a1522e5cb43ef68d29 (diff) | |
Core/Talents: Update talent system, remove talent points
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 |
