Browse Source

Always draw spell hotkey in town

pull/3594/head
Vladimir Olteanu 4 years ago committed by Anders Jenbo
parent
commit
210ea7d18d
  1. 2
      Source/panels/spell_list.cpp

2
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<std::string> hotkeyName = GetHotkeyName(spl, st);
std::optional<std::string> hotkeyName = GetHotkeyName(spl, myPlayer._pRSplType);
if (hotkeyName)
PrintSBookHotkey(out, position, *hotkeyName);
}

Loading…
Cancel
Save