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:
commit
2f440e435a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user