From 210ea7d18d4da585efcb92296ade521e7710ea63 Mon Sep 17 00:00:00 2001 From: Vladimir Olteanu Date: Wed, 24 Nov 2021 08:49:08 +0200 Subject: [PATCH] Always draw spell hotkey in town --- 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 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); }