1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Merge pull request #1557 from Nordsoft91/fix-altactions

Fix alternative actions button redraw
This commit is contained in:
Ivan Savenko 2023-02-08 13:52:21 +02:00 committed by GitHub
commit 2f440e435a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)