refactor(Core): Improve readability (#22691)

This commit is contained in:
天鹭
2025-08-19 21:03:03 +08:00
committed by GitHub
parent a19dc17cc5
commit 2602add0fd
6 changed files with 8 additions and 8 deletions

View File

@@ -206,7 +206,7 @@ bool Acore::Hyperlinks::LinkTags::spell::StoreTo(SpellInfo const*& val, std::str
if (!(t.TryConsumeTo(spellId) && t.IsEmpty()))
return false;
return !!(val = sSpellMgr->GetSpellInfo(spellId));
return (val = sSpellMgr->GetSpellInfo(spellId));
}
bool Acore::Hyperlinks::LinkTags::talent::StoreTo(TalentLinkData& val, std::string_view text)