From 1e1679a1f7d9cdecb49f40f8084b46dbfd48577b Mon Sep 17 00:00:00 2001 From: Peter Keresztes Schmidt Date: Sun, 12 Jul 2020 15:36:55 +0200 Subject: Core/DataStores: Port refactors from Update DBC field names to generated ones (#24999) (cherry picked from commit c92950b3e1f6366d85d707365a8ad2caddafeecc) --- src/server/game/Chat/Hyperlinks.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/game/Chat/Hyperlinks.cpp') diff --git a/src/server/game/Chat/Hyperlinks.cpp b/src/server/game/Chat/Hyperlinks.cpp index 3b2f67bb832..88a4dcfae2b 100644 --- a/src/server/game/Chat/Hyperlinks.cpp +++ b/src/server/game/Chat/Hyperlinks.cpp @@ -495,9 +495,9 @@ struct LinkValidator template <> struct LinkValidator { - static bool IsTextValid(PvpTalentEntry const* mawPower, char const* pos, size_t len) + static bool IsTextValid(PvpTalentEntry const* pvpTalent, char const* pos, size_t len) { - if (SpellInfo const* info = sSpellMgr->GetSpellInfo(mawPower->SpellID, DIFFICULTY_NONE)) + if (SpellInfo const* info = sSpellMgr->GetSpellInfo(pvpTalent->SpellID, DIFFICULTY_NONE)) return LinkValidator::IsTextValid(info, pos, len); return false; } @@ -511,9 +511,9 @@ struct LinkValidator template <> struct LinkValidator { - static bool IsTextValid(TalentEntry const* mawPower, char const* pos, size_t len) + static bool IsTextValid(TalentEntry const* talent, char const* pos, size_t len) { - if (SpellInfo const* info = sSpellMgr->GetSpellInfo(mawPower->SpellID, DIFFICULTY_NONE)) + if (SpellInfo const* info = sSpellMgr->GetSpellInfo(talent->SpellID, DIFFICULTY_NONE)) return LinkValidator::IsTextValid(info, pos, len); return false; } -- cgit v1.2.3