mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-17 11:56:46 +02:00
Fix alternative actions button redraw
This commit is contained in:
parent
ca01c179b4
commit
fd6987ea0a
@ -345,6 +345,7 @@ void BattleWindow::showAlternativeActionIcon(PossiblePlayerBattleAction action)
|
|||||||
|
|
||||||
auto anim = std::make_shared<CAnimation>(iconName);
|
auto anim = std::make_shared<CAnimation>(iconName);
|
||||||
w->setImage(anim, false);
|
w->setImage(anim, false);
|
||||||
|
w->redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void BattleWindow::setAlternativeActions(const std::list<PossiblePlayerBattleAction> & actions)
|
void BattleWindow::setAlternativeActions(const std::list<PossiblePlayerBattleAction> & actions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user