1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix alternative actions button redraw

This commit is contained in:
nordsoft 2023-02-05 03:29:50 +04:00
parent ca01c179b4
commit fd6987ea0a

View File

@ -345,6 +345,7 @@ void BattleWindow::showAlternativeActionIcon(PossiblePlayerBattleAction action)
auto anim = std::make_shared<CAnimation>(iconName);
w->setImage(anim, false);
w->redraw();
}
void BattleWindow::setAlternativeActions(const std::list<PossiblePlayerBattleAction> & actions)