From e97b1977d83314032c44b00be48bf56fd159fb5b Mon Sep 17 00:00:00 2001 From: Eric Robinson Date: Mon, 17 Mar 2025 16:18:29 -0400 Subject: [PATCH] Use existing fn for Speedbook Spellmatching Skill --- Source/panels/spell_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/panels/spell_list.cpp b/Source/panels/spell_list.cpp index 217ca8089..6801edcff 100644 --- a/Source/panels/spell_list.cpp +++ b/Source/panels/spell_list.cpp @@ -57,7 +57,7 @@ bool GetSpellListSelection(SpellID &pSpell, SpellType &pSplType) if (spellListItem.isSelected) { pSpell = spellListItem.id; pSplType = spellListItem.type; - if (myPlayer._pClass == HeroClass::Monk && spellListItem.id == SpellID::Search) + if (spellListItem.id == GetPlayerStartingLoadoutForClass(myPlayer._pClass).skill) pSplType = SpellType::Skill; return true; }