if (input.JustPressed(Input::ACTION_A)) {
// TODO: switch to target select
if (battle->GetSpellMenu().SelectedIsEnabled()) {
+ battle->SetAttackType(AttackChoice::MAGIC);
battle->NextHero();
ctrl->PopState();
}
const Frame *frame(battle->Res().selectFrame);
Point<int> position(frame->BorderWidth(), frame->BorderHeight());
int width(battle->BackgroundWidth() - 2 * frame->BorderWidth());
- // TODO: replace with font height
- int height(frame->BorderHeight() * 13);
+ int height(battle->Res().normalFont->CharHeight() * 13);
frame->Draw(screen, position + offset, width, height);
}