diff --git a/Source/panels/spell_list.cpp b/Source/panels/spell_list.cpp index 42379062f..42289908d 100644 --- a/Source/panels/spell_list.cpp +++ b/Source/panels/spell_list.cpp @@ -115,7 +115,7 @@ void DrawSpell(const Surface &out) const Point position { PANEL_X + 565, PANEL_Y + 119 }; DrawSpellCel(out, position, nCel); - std::optional hotkeyName = GetHotkeyName(spl, st); + std::optional hotkeyName = GetHotkeyName(spl, myPlayer._pRSplType); if (hotkeyName) PrintSBookHotkey(out, position, *hotkeyName); }